Description
Describe the feature
Current Limitation
The LambdaTestTool-v2 currently lacks the capability to persist requests -> "Save request"
In contrast, the original .NET Mock Lambda Test Tool included this feature, which we actively used in our workflow.
I have looked into source code of LambdaTestTool-v2, it has capability of loading samples requests at the moment.
Proposed Solution
Enhance LambdaTestTool-v2 by introducing a 'Save request' feature, enabling the storage of sample requests for each function in individual files. These files can be included in the Git repository alongside the .NET Aspire setup. (this might require allowing to pass directory as a cmd arg or env variable to work well with .NET aspire setup).
As well it would be nice to:
a) allow to hide standard sample requests if user has its own request samples
b) filter request samples by function name if user has its own request samples (so if user selects function B, it only see's function B request examples)
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS .NET SDK and/or Package version used
Targeted .NET Platform
.NET 8
Operating System and version
Windows 11