-
-
Notifications
You must be signed in to change notification settings - Fork 7
Bind #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
Bind #7
Conversation
|
@erikkemperman why do we need this custom binding logic? Can't we just forward the |
|
@phated Yeah, I looked at that first -- but I did not see a way to do that without a breaking change, namely having a new compulsory argument to pass context to But if that would be better than this bind hack, sure. The corresponding PR on |
|
@erikkemperman not sure what you mean? If we call |
|
I'll put together a PR after lunch. |
|
Ah, but that doesn't work for the built-in types (already bound to |
|
@erikkemperman why can't the built-in types be applied the same way? |
|
@phated They're pre-bound, before export, to |
|
Or did I misunderstand the question? |
|
@erikkemperman I've submitted a separate PR (#9) because I think code speaks louder than words 😛 Hope you have a chance to review. |
I would like to propose some changes to
resolve-optionsshortly, one of which is to avoid binding function options quite so often. In fact I think we should bind per resolver, not per option (and certainly not per option-invocation, as is currently the case!). This PR would facilitate that. Thoughts?