Skip to content

Conversation

jryannel
Copy link
Contributor

@jryannel jryannel commented Aug 9, 2024

When a reserved keyword is used, we now will change the into <name_> during parsing of the model. Now we also need to ensure that the filters don't remove the _ suffix.
We still display a warning that the word is a reserved word.

So a name switch will be switch_. This would also impact json serialization (switch_) as property name.

This solution could be used to ensure that on all technologies all names will be coherent and we should have almost never breaking code, based on reserved keywords.

@jryannel jryannel marked this pull request as ready for review September 25, 2024 10:38
Copy link
Collaborator

@dorotaphanSiili dorotaphanSiili left a comment

Choose a reason for hiding this comment

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

as discussed would be nice to have a switch to turn on/off this adding suffix

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.

3 participants