-
Notifications
You must be signed in to change notification settings - Fork 991
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
proposal for important! options #15571
proposal for important! options #15571
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.
I think the idea is great, but I was wondering if it could be =!
instead of !=
. IMO, I think of !=
could be a bit confusing. About the strong
name, could it be override
instead? Would it not be clearer?
The specific syntax is a proposal, but I'd say that the implementation is easier if it is in the option name. Also, in theory, options values can be anything, while options names cannot contain "!" at their definition, which makes a bit more unlikely that someone with an option finishing in ! will make it fail. Regarding |
Just by simliarity with CSS's |
I like the idea of calling them important options and using the |
Changelog: Feature: New "important" options values definition, with higher precedence over regular option value definitions.
Docs: conan-io/docs#3585
Close #14764
Close #15519