We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When a @graphQLClass annotated class does not have a default constructor the generator throws an exception.
@graphQLClass
Example class:
@graphQLClass class ItemGQO { String publicId = ""; String name = ""; //ItemPrintingGroupGQO(); ItemPrintingGroupGQO.fromModel(Item model) : publicId = model.publicId, name = model.name; }
The generated error message:
[SEVERE] graphql_generator2:graphql on lib/src/network/model/item_gqo.dart: Null check operator used on a null value
Expected behavior:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When a
@graphQLClass
annotated class does not have a default constructor the generator throws an exception.Example class:
The generated error message:
Expected behavior:
The text was updated successfully, but these errors were encountered: