-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable schema validation for catalog editor #69
Comments
Moving to next. We did not implement this with the mvp |
Looked into this and going to take a bit of work. Got the Schema loading by hardcoding it into the application as This renders fine and does something where it is clearly picking up the description for the schema. There is a warning stating that Side note [^1] Handler used beforeMount: (monaco: Monaco) => {
console.log('handlers:beforeMount', monaco);
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
validate: true,
schemaValidation: 'error',
schemas: [
{
uri: 'https://server/schema.json',
fileMatch: ['*'],
schema: flowSchema,
},
],
});
}, |
The user can edit the catalog manually in the create flow. However, they are unable to know if their edits are valid. We need to load the Flow schema into the Monaco editor and have it validate it.
The text was updated successfully, but these errors were encountered: