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

MDSL generator: protected regions #109

Closed
stefan-ka opened this issue Oct 11, 2019 · 1 comment
Closed

MDSL generator: protected regions #109

stefan-ka opened this issue Oct 11, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@stefan-ka
Copy link
Member

Provide protected regions for the root elements in a generated MDSL file. If the user moves an element into the region, it will not be overwritten if the generator is called again. Allows to make user-specific changes which are not overwritten.

@stefan-ka stefan-ka added the enhancement New feature or request label Oct 11, 2019
@stefan-ka stefan-ka added this to the v4.3.0-mdsl-enhancements milestone Oct 11, 2019
stefan-ka added a commit that referenced this issue Oct 12, 2019
#109: Implement protected regions in MDSL generator
@stefan-ka
Copy link
Member Author

Solved. MDSL generator generates protected regions for data types, endpoints, providers, and clients now:

image

By moving an object into the corresponding protected region it will not be overwritten if the generator is called again. Everything else, outside the protected regions, is re-generated.

Note: Initially you have to generate new MDSL files if you want to get the protected regions. The generator does not add them to existing files which do not contain them. This brings the advantage that the user can remove them if he/she does not need it. Alternatively you can add them manually. (ensure the start and end comments are correct; see screenshot)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant