-
Notifications
You must be signed in to change notification settings - Fork 78
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
[FEATURE] Add custom folder path option for Smithy-generated handlers #860
Comments
I think the tricky part for typescript will be getting the esbuild command right to bundle all the handlers - I wonder if we'd need to make it more generic so it finds all ts files in the target directory which export a function called |
I think we may need an index file to store the paths of the generated handlers. Is it possible to read handler data from the |
We can read the So yes I think we could have a script/command read |
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label. |
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label. |
Describe the feature
Add an option in the Smithy handler trait to define a custom folder path for the generated handers.
Use Case
Current settings generate all handlers inside the
src
andtest
folders with a flat hierarchy. Need an option to customize the individual handler path.Proposed Solution
Add a new optional
subdir
option to the Smithy handler trait?Other Information
We may also need to add this option for async handlers.
Acknowledgements
PDK version used
0.23.66
What languages will this feature affect?
Typescript, Java, Python
Environment details (OS name and version, etc.)
Linux, Windows etc
The text was updated successfully, but these errors were encountered: