GraphQL Creator
How to create GraphQL nodes and fields
Click new type/input/interface/union/enum/scalar/directive
Type in the name of the node
Click enter
Nodes (aside from scalars) need at least one field to be fully created.
Select the node
Edit its name like a simple text input
Delete node
To delete a node open the 3 dots menu on top of the active node and click Delete Node:
Duplicate node
To duplicate node open the 3 dots menu on top of the active node and click Duplicate Node:
Create a node field
Select a node
Click the + button
Type in the name of the field type or select it
Click the + button or press enter to submit
After that, the node field will be created with a default name (lowercase first letter type name). To change it, just select the created field and edit it like a simple text input.
List and Non-null type field
Select a node
Click [!]
Select the desired options
Delete a field
Select a node
Click the 3 dots menu on the desired field.
Click Delete
Implement Interface
Select a node
Click the {} menu
Select the desired interface
Add directive
Select a node
Click the @ menu
Select the desired directive
Last updated