gqlObjectType
Adds a new object to the schema. See example usage.
Until this bug is fixed, custom objects need to be defined in a separate file from where they're consumed.
Options:
- name
Name of the object. If not specified, defaults to the name of the class
- description
Description of the object. Will be added to the Schema and exposed in tools like GraphiQL or Playground.
- interfaces
Custom interfaces that this object should implement.