-
Notifications
You must be signed in to change notification settings - Fork 7
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
Make alternative short predicates available for options hashes with @nest
#62
Comments
That might be possible, but then we'll have to take into the account of the possibility of conflicting variable names. Also, a (perhaps bigger) question is how to enable this functionality, as we may not want to enable this by default due to the possibility on conflicting variable names. Another thing I'm also not sure about is the "also allow" part of this functionality, perhaps there may be a need to "instead allow". But this could also be solved via a CLI flag. |
Precedence is fine here for me. (Perhaps the generator doesn't even need to know, and the JSON-LD context just overrides it.)
Default seems fine if there is precedence.
It's just an alias? |
Alternatively, we could also enable something like this:
This may be a better reflection of the actual constructor interface, and avoid conflicts completely. In any case, the alias-based approach is definitely also possible. |
I love the above. |
@nest
The alias solution will be supported in 3.x. Will leave this issue open for the |
In addition to
could we also allow
The text was updated successfully, but these errors were encountered: