You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up to #1097 - currently, there are no methods for customizing the wrap method of the endpoint (which is the method that essentially wraps an endpoint input into an operation).
There might be an (arguably obscure) use-case for customizing wrap, so let's consider adding those, or use this ticket to document the reason against that.
Note: this isn't blocking for 0.18 because adding these concrete methods can be done without breaking BC.
The text was updated successfully, but these errors were encountered:
not at the moment, I just wanted to have an issue or discussion as a record of us in case we don't consider this functionality useful ;)
Agree on the next two points. I was thinking in terms of a transformation on a concrete endpoint, but that doesn't seem useful for anything outside of testing with a very specific endpoint.
However, on these:
The wrap method's canonical use-site is client-side interpreters, which are written in terms of SchemaVisitors (in part)
This kinda indicates that if there is such a transformation needs occurring, a good location for it would probably within the interpreter.
I mostly agree but you may not always be writing an interpreter of your own - you might want to wrap an existing one. Having to change a SchemaVisitor means you need to stop wrapping and do the internals yourself. However, this usecase is theoretical enough that I don't really think it's going to be an issue.
Follow-up to #1097 - currently, there are no methods for customizing the
wrap
method of the endpoint (which is the method that essentially wraps an endpoint input into an operation).There might be an (arguably obscure) use-case for customizing
wrap
, so let's consider adding those, or use this ticket to document the reason against that.Note: this isn't blocking for 0.18 because adding these concrete methods can be done without breaking BC.
The text was updated successfully, but these errors were encountered: