artemis 6.18.4
artemis: ^6.18.4 copied to clipboard

Dart native js
Flutter Android iOS Linux macOS web Windows

Build dart types from GraphQL schemas and queries (using Introspection Query).

example/README.md

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.