Describe your application with the
          GraphQL schema
          to create a self-documenting, strongly-typed API.
        
       
      
{% highlight ruby %}
# app/graphql/types/profile_type.rb
class Types::ProfileType < Types::BaseObject
  field :id, ID, null: false
  field :name, String, null: false
  field :avatar, Types::PhotoType
end
{% endhighlight %}