Created
March 5, 2018 19:09
-
-
Save smoak/8612baac1bb4604a508a6f128a013f8f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
object :user do | |
field :id, non_null(:id) | |
end | |
object :group do | |
field :id, non_null(:id) | |
field :members, list_of(:user) | |
end | |
query do | |
field :user, :user | |
field :groups, list_of(:group) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment