Created
February 5, 2020 14:19
-
-
Save shaungehring/0224dcd21ee68e35b6943ba013d83fa5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
directive @external on FIELD_DEFINITION | |
directive @requires(fields: _FieldSet!) on FIELD_DEFINITION | |
directive @provides(fields: _FieldSet!) on FIELD_DEFINITION | |
directive @key(fields: _FieldSet!) on OBJECT | INTERFACE | |
directive @extends on OBJECT | |
scalar _Any | |
union _Entity = User | |
scalar _FieldSet | |
type _Service { | |
sdl: String | |
} | |
type Query { | |
users(id: ID, first_name: String, last_name: String): [User] | |
_entities(representations: [_Any!]!): [_Entity]! | |
_service: _Service! | |
} | |
type User { | |
id: ID! | |
first_name: String! | |
last_name: String! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment