When setting the 'enableSchemaRequest' option to 'false', I get the warning:
Unable to load schema from '/do.not.load.me'. No schema request service available
Setting it to true gives the warning:
Unable to load schema from '/do.not.load.me': Failed to fetch.
How do I get Monaco to completely ignore the $schema field? I am supplying the schema manually so I don't want the editor to attempt to fetch over the internet.
Testing this behavior using: https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-configure-json-defaults
This question is not a duplicate of: Disable $schema JSON autocompletion with Monaco since I still want JSON schema functionality, just not based on the document's $schema field.