-
Notifications
You must be signed in to change notification settings - Fork 153
Bug: Build of @aws-lambda-powertools/parameters fails as types/AppConfigProvider.ts uses import with absolute file name #1385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @karthikeyanjp thank you for spotting this and for taking the time to report it. The report is valid and the import should indeed be: Would you be interested in contributing a fix via PR? If not, we'll definitely address this before the next beta release. |
@dreamorosi sure, I will submit a PR for this. |
Awesome, thank you! Note that I have updated my previous comment, the fix you suggested in your OP is correct. |
@dreamorosi Submitted PR#1388. Kindly review at your convenience. |
|
Expected Behaviour
Refer code.
Import for GetOptionsInterface should be from './BaseProvider'.
Since the import is using an incorrect path, build fails. See error below:
Current Behaviour
GetOptionsInterface
is imported from incorrect path.Code snippet
GetOptionsInterface
is imported from incorrect path.Steps to Reproduce
pnpm run build
Possible Solution
Import
GetOptionsInterface
from correct path.AWS Lambda Powertools for TypeScript version
latest
AWS Lambda function runtime
18.x
Packaging format used
npm
Execution logs
No response
The text was updated successfully, but these errors were encountered: