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

Add support for OPTION_RECORD_UNKNOWN_FEATURE #6

Open
pcdavid opened this issue Jan 26, 2022 · 0 comments
Open

Add support for OPTION_RECORD_UNKNOWN_FEATURE #6

pcdavid opened this issue Jan 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pcdavid
Copy link
Member

pcdavid commented Jan 26, 2022

Currently the JSON parser silently ignores the features its does not know about.
It would be nice to support an option similar to EMF's XMLResource.OPTION_RECORD_UNKNOWN_FEATURE to store the ignored/unrecognized parts of the JSON so that they can be used in a post-loading phase. A typical use case would be to support transparent migration of older models to newer versions of a metamodels where features have been renamed/moved/etc.

@pcdavid pcdavid added the enhancement New feature or request label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant