aws-powertools/powertools-lambda-typescript

Maintenance: Expose REST Event Handler Under `experimental-rest` Path

Closed this issue · 2 comments

Summary

To allow users to use the beta version of the REST event handler we need to expose the API:

import {Router} from '@aws-lambda-powertools/event-handler/experimental-rest';

This will require adding an index.ts file to export the Router class, converters, utils and constants.

We also need to update the exports and typesVersions sections of package.json.

Why is this needed?

Users will not be able to import the package otherwise.

Which area does this relate to?

No response

Solution

No response

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Warning

This issue is now closed. Please be mindful that future comments are hard for our team to see.
If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

This is now released under v2.26.0 version!