INPUT_OBJECT

ConnectionConstructor

ConnectionConstructor is used to create an Connection

link GraphQL Schema definition

  • input ConnectionConstructor {
  • # ref is the gtype/gid of the connection to create. If no gid is provided, a
  • # k-sortable uuid will be assigned
  • ref: RefConstructor!
  • # directed is false if the connection is bi-directional
  • directed: Boolean!
  • # attributes are k/v paris associated with the Connection to create
  • attributes: Map
  • # from is the doc ref that is the source of the connection
  • from: RefInput!
  • # to is the doc ref that is the destination of the connection
  • to: RefInput!
  • }