adapter-api does not support headers inputType
See original GitHub issueDescription
The @laconia/adapter-api
package does not support the headers
inputType
from the ApiGatewayEvent.
Is your feature request related to a problem? Please describe.
No, there is a work around with the @laconia/event
package.
Describe the solution you’d like [optional]
It would also be nice to provide the whole ApiGatewayEvent
instead of just a specific inputType
or at least a way to receive headers
.
Additional context Scanning through #124 they seem partially related.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Ability to create an adapter dynamically · Issue #124 - GitHub
For example when creating an API endpoint, users are unable to create PUT or PATCH ... adapter-api does not support headers inputType #812....
Read more >Creating API Endpoints - Laconia
The requests that are coming in are function arguments, the response that goes out is a return statement. This means Laconia does not...
Read more >getting error of Access-Control-Allow-Origin header
Hope you will get how to solve your problem try { $headers = array( 'Content-Type: application/json', ); $ch = curl_init(); $options ...
Read more >Oracle JCA Adapter for UMS - 11g Release 1 (11.1.1.7.0)
Note that the UMS Adapter does not support XA Transactions on the Outbound ... You cannot set and get headers with Keyword headers...
Read more >InputType - Android Developers
Note that some input methods may not support it, for example a voice-based input method will likely not be able to generate key...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I noticed this option the other day which was pretty slick! Also didn’t know about the
includeInputHeader
! 👍🏼 That’s good to know and might look into adding that into the docs! I have an incoming PR that I’ve been working on to improve upon the current types.I still think it might be a good idea to just allow providing the full
APIGatewayEvent
to future proof the adapter. But it seems that from you comment that everything is currently supported, so feel free to close this issue 😃That’s great! I’ll close this issue 😃