-
Notifications
You must be signed in to change notification settings - Fork 96
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
Phase transition idea. #76
Comments
@mitchhentges @sholladay @nerdbeere thoughts? |
That seems way more flexible than before, so it sounds good to me! Looking forward to nerdbeere and sholladay's input, though. |
It certainly is flexible. And that is an excellent use of As for the example, I'm inclined to think that hoxy should be responsible for complying with the HTTP spec for the most part and I shouldn't have to worry about implementing that. I'm sure there are other awesome use cases, though. The only other hangup for me is that, to my eyes, this exacerbates the confusion I tried to describe in #72 related to what the request/response actually represents. In the example, when you do |
Idea: add a "phaseless" feature which would allow you to do:
This would allow handling errors that happen between phases within the scope of an intercept, which currently isn't possible. Example:
The text was updated successfully, but these errors were encountered: