Skip to content
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

New schema locater to locate the standard schemas delivered as part of the core-backend package #7347

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

RohitPtnkr1996
Copy link
Contributor

@RohitPtnkr1996 RohitPtnkr1996 commented Nov 12, 2024

Fixes #6145

* @beta This is a workaround the current lack of a full xml parser.
*/
export class PublishedSchemaJsonFileLocater extends SchemaJsonFileLocater implements ISchemaLocater {
public static defaultSchemaSearchPaths = new Set([
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems to be repeated a few times, wonder if we extract this out to a var that is referenced everywhere
what happens today if you update one of these places but not the others?

having a list of these schemas grouped is helpful, but if its not needed you could use a glob to pull in all schemas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

It is difficult to locate the standard schemas delivered as part of the core-backend package
3 participants