artemis
artemis copied to clipboard
Build dart types from GraphQL schemas and queries
Fragments: The superclass, '<name>FragmentMixin', has no unnamed constructor that takes no arguments
**Before reporting a bug, please test the beta branch!** ## Bug description I have a fragment that with direct fields except __typename and a union. The fragment and query is...
**Before reporting a bug, please test the beta branch!** ## Bug description The project I am working on is a monorepo where our queries, models, etc live in a package...
**Make sure you're opening this pull request pointing to beta branch!** ## What does this PR do/solve?
I'm creating a GraphQL client that persists mutations when offline and runs them when the client comes back online. I'd like to request that we make the GraphQLQuery class JsonSerializable...
As far as dart passes objects by reference it would be great to have a 'copyWith' extension for the data classes with something like this https://github.com/numen31337/copy_with_extension docs https://www.oleksandrkirichenko.com/blog/dart-extensions/
Hi! Thank you for this great package! Sometimes, user-defined dart type and generated code result in naming conflict. I understand to use `naming_scheme: pathedWithTypes` for those cases. However, people can...
**Make sure you're opening this pull request pointing to beta branch!** ## What does this PR do/solve? This PR improves fragment support. Given the schema: ```graphql type Query { interface:...
**Make sure you're opening this pull request pointing to beta branch!** ## What does this PR do/solve?
If you use the javascript graphql "Apollo", then you don't have do put any schema.json or schema.graphql in your project at all. Apollo automatically gets the current schema just by...
for example, ```graphql query { x{ _typename ...on A{ ...fragment } } ``` and ```graphql query { y{ __typename ...on A{ ...fragment } } ``` Where `x` and `y` are...