-
Notifications
You must be signed in to change notification settings - Fork 25
pkg/contexts: expand CRE.Normalized #1746
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bolekk Do you have any concerns with making the others lower-case as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No concerns but are you sure this is the best way to handle it? What if somebody misspells "owner_"? It will be silently ignored again. I thought that it might be better to enforce one single format in CLD (and optionally here too).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not opposed to being stricter on the settings side, but I would worry about having to update this code in the future if it were too strict. Is there a chance that formats could change? Or is that not something to worry about?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh and we don't have an existing error here, so it would be messy to reject things
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK so let's be more permissive here but also add validations in CLD.
✅ API Diff Results - No breaking changes |
29a8f35 to
00dd979
Compare
https://smartcontract-it.atlassian.net/browse/CRE-1612