Generated graphql.dart creates an unnecessary top level variables
rirjkl19 opened this issue · 1 comments
rirjkl19 commented
Hi I have a quesstion.
I have mutation to login:
mutation Login($login: LoginInput!) {
login(input: $login)
}
and the *.graphql.dart
is properly created. However upon checking on the code it generates. It also generated a
final LOGIN_MUTATION_DOCUMENT_OPERATION_NAME = 'Login';
final LOGIN_MUTATION_DOCUMENT = DocumentNode(definitions: [...
Which is not used to begin with by the package. I also don't see any use case on using this. How can I omit it as it could affect dart analysis auto completion.
vasilich6107 commented