Skip to content

Instantly share code, notes, and snippets.

@adamjleonard
Last active February 5, 2018 15:38
Show Gist options
  • Save adamjleonard/141fc0f955d675ee74edc66975be9af0 to your computer and use it in GitHub Desktop.
Save adamjleonard/141fc0f955d675ee74edc66975be9af0 to your computer and use it in GitHub Desktop.
# app/graphql/types/review_type.rb
Types::ReviewType = GraphQL::ObjectType.define do
name "Review"
field :id, types.ID
field :content, types.String
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment