artemis icon indicating copy to clipboard operation
artemis copied to clipboard

Build dart types from GraphQL schemas and queries

Results 52 artemis issues
Sort by recently updated
recently updated
newest added

I'm wondering if there is a way to update the headers of the ArtemisClient after it has been created. Thanks for sharing this project!

Our schema looks like this: ```graphql type Query { courier(code: String!): CourierResult! } union CourierResult = Courier | CourierNotFoundError | InternalServerError type Courier { name: String! code: String! picture: String!...

bug

**Bug description** `gql` breaking changed their WSLink implementation and example doesn't work anymore. **Specs** Artemis version: [e.g. 6.6.1-beta.1]

bug

From [here](https://github.com/flutter/flutter/wiki/Code-generation-in-Flutter), you can find that builder can be added in the `builders` section of `pubspec.yaml`, so it will run as a step for build, or flutter run. That could...

enhancement
good first issue

POC: Extract some *OBJECTS* (and only objects, not union/interfaces/fragments) as canonical (with all fields), given a `treat_as_canonical` glob configuration.

It would be nice if the plugin could automatically generate a dart file for each query.graphql file. Also it should generate a types.dart which contains all shared types like enums....

The error `Exception: Field username was not found in GraphQL type Node. Make sure your query is correct and your schema is updated.` Just create the test file with this...

bug

I have an **invalid_override** error in my generated file when I use fragments like in this sample: [merge fragment error.zip](https://github.com/comigor/artemis/files/4580558/merge.fragment.error.zip) Error is : `'MyQuery$Query$Country.items=' ('void Function(MyQuery$Query$Country$Items)') isn't a valid override...

bug

For javascript there is a module called gqless: https://gqless.dev/ It basically generates all your queries etc. based on how you use them in your code. So you don't need any...

enhancement

In relay, one of the strength points is that queries and fragments can be written along side the widgets using them. We had a discussion regarding this [here](https://github.com/gql-dart/ferry/issues/3). For example:...

enhancement