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
Is your feature request related to a problem? Please describe.
In Apollo, you can specify mutate(MutationOptions<CreateTestInput>{variables: {...}}). This is very powerful because it enforces the schema's requirements for a query or mutation. This is especially powerful when used in conjunction with automatic type generation like this: https://github.com/micimize/graphql-to-dart .
Describe the solution you'd like
classMutationOptions<T> extendsBaseOptions {
MutationOptions({
// ...Map<String, T> variables, // used to be <String, dynamic>// ...
}) :super(
// ...
);
}
Same for query.
Additional context
I've got this running locally and it works great. If I get some extra time I'll put it up in a PR but that is unlikely.
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
In Apollo, you can specify
mutate(MutationOptions<CreateTestInput>{variables: {...}})
. This is very powerful because it enforces the schema's requirements for a query or mutation. This is especially powerful when used in conjunction with automatic type generation like this: https://github.com/micimize/graphql-to-dart .Describe the solution you'd like
Same for query.
Additional context
I've got this running locally and it works great. If I get some extra time I'll put it up in a PR but that is unlikely.
Usage:
The text was updated successfully, but these errors were encountered: