Repository navigation
Response context RFC - #22
Conversation
jjbayer
left a comment
There was a problem hiding this comment.
I have a slight preference for Option 2 -- I feel like event.request itself should be a context and is only a top-level field for historical reasons. I do not have a strong opinion though, both options seem fine to me.
jan-auer
left a comment
There was a problem hiding this comment.
Between Option 1 and Option 2, I would recommend to go with Option 2: Adding a Response context type in contexts. This allows us to create typing for known fields, documentation, normalization, and shows up in the UI automatically. When the SDK is used with older self-hosted deployments, this further does not lead to errors showing up in the issue details UI.
Once we've chosen an option, please structure the RFC so that it describes the proposed change and lists alternatives separately.
Co-authored-by: Joris Bayer <[email protected]>
jan-auer
left a comment
There was a problem hiding this comment.
Good to go once the comment on on is_redirect is resolved. Thank you!
Add
Responseinterface that contains information on a HTTP response related to the event.Rendered RFC