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
The problem is, the environment construction assumes a lot about the content of the event object which is passed to the Lambda handler function. For example, the _build_wsgi_env function assumes that event contains a rawContext object. The events module also assumes a specific layout of the API Gateway request template, which completely depends on how the application is deployed.
The request template format assumed by fleece is that which is used by default by yoke, but to someone who doesn't already know that, it's not obvious. :)
The solutions I propose are:
Document the expected request template details better and provide guidelines for developers who want to use these utilities. (Bare minimum.)
Provide a way to specify to fleece some details about the request template so fleece can make the appropriate mappings. (Nice to have.)
The text was updated successfully, but these errors were encountered:
The recent addition of connexion utilities added some nice utilities for integrating Connexion/WSGI apps and API gateway. At the core of this integration lies the construction of the WSGI environment, which a WSGI app needs in order to execute.
The problem is, the environment construction assumes a lot about the content of the
event
object which is passed to the Lambda handler function. For example, the_build_wsgi_env
function assumes thatevent
contains arawContext
object. Theevents
module also assumes a specific layout of the API Gateway request template, which completely depends on how the application is deployed.The request template format assumed by
fleece
is that which is used by default byyoke
, but to someone who doesn't already know that, it's not obvious. :)The solutions I propose are:
fleece
some details about the request template sofleece
can make the appropriate mappings. (Nice to have.)The text was updated successfully, but these errors were encountered: