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

Adding name recommendations for allowed values #399

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

erikbosch
Copy link
Collaborator

This is a follow up to #388, based on the proposal that allowed values preferably shall be upper case with parts separated by underscore.

I also renamed the file name form enum.md to allowed.md

docs-gen/content/rule_set/data_entry/allowed.md Outdated Show resolved Hide resolved
docs-gen/content/rule_set/data_entry/allowed.md Outdated Show resolved Hide resolved
docs-gen/content/rule_set/data_entry/allowed.md Outdated Show resolved Hide resolved
docs-gen/content/rule_set/data_entry/allowed.md Outdated Show resolved Hide resolved
Comment on lines +31 to +32
For string values used for `default` and `allowed` statements it is recommended to start with `A-Z`
and then use only `A-Z`, `0-9` and underscore (`_`).
Copy link
Contributor

Choose a reason for hiding this comment

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

Could it start with underscore too? this would follow most variable naming conventions for constants.

@danielwilms danielwilms merged commit 515e73e into COVESA:master Jan 25, 2022
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.

None yet

4 participants