artemis 6.10.1-beta.1 artemis: ^6.10.1-beta.1 copied to clipboard
Build dart types from GraphQL schemas and queries (using Introspection Query).
Examples #
This folder contains some examples on how to use artemis.
pokemon #
A simple example, showing Pokémon GraphQL schema generation.
graphqbrainz #
A more complex example, for graphbrainz (a MusicBrainz GraphQL server). Featuring union types, interfaces and custom scalars.
github #
Even simpler example, for GitHub GraphQL API. I didn't commit the schema because it's too big (~3MB), so provide your own if you're running the example: https://github.com/octokit/graphql-schema
hasura #
This example uses a simple Hasura server (with tables schema defined in this file), as an example of how to use Artemis with subscriptions.