Created
September 26, 2018 22:11
-
-
Save shrirambalakrishnan/82e58e5b09f7ff1fa2f462ad0daeaabe 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
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