Skip to content

Instantly share code, notes, and snippets.

@shrirambalakrishnan
Created September 26, 2018 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shrirambalakrishnan/82e58e5b09f7ff1fa2f462ad0daeaabe to your computer and use it in GitHub Desktop.
Save shrirambalakrishnan/82e58e5b09f7ff1fa2f462ad0daeaabe to your computer and use it in GitHub Desktop.
Types::ActorType = GraphQL::ObjectType.define do
name 'Actor'
description 'Actor Details'
field :id, !types.ID
field :name, !types.String
field :gender, types.String
field :date_of_birth, types.String
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment