Expand description
Types for Relay-compliant server
Structs§
- Connection
- Connection type
- Default
Connection Name - Name the connection type by default with the default format.
- Default
Edge Name - Name the edge type by default with the default format.
- Disable
Nodes Field - Disable (at compile time)
nodes
field in GQL output ofConnection
- Edge
- An edge in a connection.
- Empty
Fields - Empty additional fields
- Enable
Nodes Field - Enable (at compile time)
nodes
field in GQL output ofConnection
- Opaque
Cursor - A opaque cursor that encode/decode the value to base64
- Page
Info - Information about pagination in a connection
Traits§
- Connection
Name Type - Used to specify the connection name.
- Cursor
Type - Cursor type
- Edge
Name Type - Used to specify the edge name.
- Nodes
Field Switcher Sealed - Allow switch if
Connection
containsnodes
field in GQL output
Functions§
- query
- Parses the parameters and executes the query.
- query_
with - Parses the parameters and executes the query and return a custom
Connection
type.