Closed aubelsb2 closed 2 years ago
Just ran into the Cookie issue myself, any chance that this PR gets approved? If not, would you approve one with just the Cookie fix in it?
@aubelsb2 Thanks for the fix, really helped to not be stuck 👍
@richardstrnad If I knew it was going to be reviewed and merged I would put more effort into splitting it up. But I haven't heard anything
no issues after deploying a graphql lambda in https://github.com/systemaccounting/mxfactorial/pull/233
thank you
This is an attempt at producing an interface that automatically switches between V1 and V2 API strctures based on the presense of keys in the request object, for gorillia mux.
It adds 2 new structures:
SwitchableAPIGatewayRequest
SwitchableAPIGatewayResponse
Which implement:
and
Then select
GorillaMuxAdapter
into 3 different code paths:Some of the tests were using the wrong stucture.
Cookies were not handled correctly for V2.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.