Optional
The default JSONDiagnosticOptions from monaco-editor's json mode - to use when applying variablesJSON. some examples of settings to provide here:
JSONDiagnosticOptions
monaco-editor
json
allowComments: true
validateSchema: 'warning'
trailingComments
error
warning
ignore
whilst editing operations, alongside graphql validation, generate json schema for variables to validate json schema models
validateVariablesJSON: { "monaco://my-operation.graphql": ["monaco://my-variables.json"]} Copy
validateVariablesJSON: { "monaco://my-operation.graphql": ["monaco://my-variables.json"]}
The default
JSONDiagnosticOptionsfrommonaco-editor'sjsonmode - to use when applying variablesJSON. some examples of settings to provide here:allowComments: trueenables jsonc editingvalidateSchema: 'warning'trailingCommentsiserrorby default, and can bewarningorignore