General · GraphQL input

MockDataInput input

Defines options for generating mock data from a query using the @mock directive.

Fields

Input Field Description
enabled - Boolean! If true, the mock data will be generated for this query.
options - [MockDataInputOption!] Query specific mock data generation options.

Example

Example

{"enabled": false, "options": [MockDataInputOption]}