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
Add an init() that match the APIGatewayResponse (#91)
Add an `init()` to `FunctionURLResponse` to match the signature of
`APIGatewayv2Response`
### Motivation:
`APIGAtewayV2Response` and `FunctionURLResponse` share teh same
structure, although we provided two different signatures for the
initializers. This prevent writing common code to handle both responses.
### Modifications:
- add a new `init(0` that has the same signature as the init from
APIGatewayV2response
- make the current init as deprecated, we will remove it in a future
version bump
### Result:
Two init() functions on FunctionURLResponse
0 commit comments