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 Diesel tutorial seems to advocate (somewhat sensibly) that an insertion type (like NewHuman) contains the human's name as a reference (&'str). This of course means the containing struct gains a lifetime annotation. When I tried to derive(GraphQLObject) on such a struct, I got errors:
The Diesel tutorial seems to advocate (somewhat sensibly) that an insertion type (like
NewHuman
) contains the human's name as a reference (&'str
). This of course means the containing struct gains a lifetime annotation. When I tried toderive(GraphQLObject)
on such a struct, I got errors:The text was updated successfully, but these errors were encountered: