-
Notifications
You must be signed in to change notification settings - Fork 434
Open
Labels
easyenhancementImprovement of existing features or bugfixImprovement of existing features or bugfixk::apiRelated to API (application interface)Related to API (application interface)
Milestone
Description
Is your feature request related to a problem? Please describe.
Contexts have some boilerplate, you have to implement juniper::Context
which is usually an empty marker trait. The error message when you don't isn't obvious, see #327.
Describe the solution you'd like
It might be good to have a #[derive(GraphQLContext)
that does the boilerplate for you. It won't help the error message, but perhaps when people are copying and pasting or reading docs they will be less likely to miss it.
Metadata
Metadata
Assignees
Labels
easyenhancementImprovement of existing features or bugfixImprovement of existing features or bugfixk::apiRelated to API (application interface)Related to API (application interface)