artemis
artemis copied to clipboard
Build dart types from GraphQL schemas and queries
I'd like to use [`gql`'s `ast.transform`](https://github.com/gql-dart/gql/blob/master/gql/README.md#transforming-graphql-documents) to implement an inline imports handler similar to [`graphql-import`](https://github.com/Urigo/graphql-import) or [`graphql-import-loader`](https://github.com/prisma-labs/graphql-import-loader), but would need a parser middleware hook to use it with artemis. ####...
I have this on my build.yaml schema_mapping: - schema: rygapp.schema.json queries_glob: graphql/**.query.graphql output: lib/graphql/consultas.dart When I run I received this error : Exception: Two classes were generated with the same...
Is there a way to generate classes from the base types of a schema? Is this planned? We'll want to do this for graphql-flutter, and maintain [fragment inheritance](https://github.com/zino-app/graphql-flutter/issues/402#issuecomment-538799511) somehow Maybe...
The way [graphql_flutter implements NormalizedCache ](https://github.com/zino-app/graphql-flutter/blob/master/packages/graphql/lib/src/cache/normalized_in_memory.dart#L24)would require denormalizing data on every build call, making allocations for everything under that type for fields that may not be even relevant. Like a...
## Bug description In my service's schema, there's a type like this: ```graphql input Update { id: UUID! name: String props: MyProps } ``` This gets translated to this Dart...
## What does this PR do/solve? This PR adds compatibility with http: ^1.0.0 which begins to be widely used across flutter 3.13 ecosystem
Update gql and related dependencies to depend on version 1.0.0 There have been some fixes in gql and they've released 1.0.0 version of packages, This PR updates to it
## Bug description Currently there's a problem if you want to generate requests with variables - in every generated file "*.graphql.dart" will be StringComparisonExp, IntComparisonExp or any other comparators. When...
Good evening, can't find anywhere what is the best approach to parse remote objects to local models. Do I need to extend parser function and map every object by hands?
``` - graphql_type: jsonb dart_type: Map ``` I use this to get the Dart type from my Hasura database to the Graphql type **jsonb**, but my app crash ! Do...