-
Notifications
You must be signed in to change notification settings - Fork 22
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
Verbose Options #105
Comments
So you propose |
cc @arikon |
Options looks like overkill, btw. But I'm not against it. |
@andrewblond Why not just use the generic prefixes consistently in all the techs?
|
It seems that it less obvious and less unification between techs.
Yes, it seems that without |
@andrewblond I don't like the distinction between What if some of sources are optional? Than I have to write single nested option: {
sources: {
sourceBemjson: '...'
}
} For me the generic prefix (convention) is more obvious than grouped options. |
If not group options then lost information that has more source options: {
sourceBemjson: '...'
} if group then added not too many characters: {
sources: { bemjson: '...' }
} |
Options in all techs can be divided into three types: targets, sources and options.
Now, all options are set as a flat list. Because of this, not possible to understand what type of each option.
We can explicitly indicate which of the options are sources, which targets, and which options.
The text was updated successfully, but these errors were encountered: