Skip to content

Recursively resolve definitions in remote schemas#733

Open
submitteddenied wants to merge 1 commit into
jdorn:masterfrom
submitteddenied:master
Open

Recursively resolve definitions in remote schemas#733
submitteddenied wants to merge 1 commit into
jdorn:masterfrom
submitteddenied:master

Conversation

@submitteddenied

Copy link
Copy Markdown

This (partially) resolves #408 but may lead to issues where definitions in remote schemas clobber those with the same name in local (or earlier) schemas.

PS: Sorry about all the whitespace changes, add ?w=1 to the URL to get a cleaner diff :)

Comment thread src/core.js

self.refs[url] = response;
self._getDefinitions(self.refs[url]);

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

For clarity in the summary, this is the only "real" code change

btsimonh pushed a commit to btsimonh/json-editor that referenced this pull request May 26, 2021
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.

Combined schema.json/#/definitions/foo not supported?

2 participants