You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error is on #[juniper::object(context = Context)] a lifetime specifier is expected for Context.
When trying #[juniper::object(context = Context<'a>)] a ^^ undeclared lifetime for <`a> is returned.
The text was updated successfully, but these errors were encountered:
I'm trying to specify a lifetime for a Context object using the new
juniper::object
proc macro.The error is on
#[juniper::object(context = Context)]
a lifetime specifier is expected for Context.When trying
#[juniper::object(context = Context<'a>)]
a^^ undeclared lifetime
for<`a>
is returned.The text was updated successfully, but these errors were encountered: