Object

Description

GraphQL objects represent a list of named fields, each of which yields a value of a specific type.

Note that object types cannot be used for input (instead, see “InputObject” below).

Absinthe Macro

object

Examples

In an Absinthe schema:

 @desc ​"​​A person"
 object ​:person​ ​do
  field ​:name​, non_null(​:string​)
 # Other fields
 end
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.97.40