Give clear error about a malformed config or template.yaml when loading the Mock Lambda Test Tool
- Vorherrschende Sprache
- C#
- Sterne
- 1.7k
- Forks
- 503
- Ø Merge
- 1 T. 13 Std.
- Gemergte PRs (30 T.)
- 19
Beschreibung
### Describe the feature
If the template.yaml is invalid, let the test tool show me an error rather than just not load any configs or functions into the dropdowns.
### Use Case
If the Mock Lambda Test Tool fails to load, it doesn't really give a clear indicator as to why. In my case, I had an extra space in my template.yaml, but I thought it was a complete different problem for almost a whole day. Probably a rookie mistake, but would appreciate a clear helpful error to tell me next time.
### Proposed Solution
_No response_
### Other Information
_No response_
### 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
.NET 6 Lambda Test Tool
### Targeted .NET Platform
.NET 6
### Operating System and version
Windows 11
Beitragsleitfaden
Rechercherichtung
Reproduziere das Problem im Mock Lambda Test Tool mit der in der Issue beschriebenen fehlerhaften template.yaml und verfolge anschließend den Ladepfad, der die Dropdowns für config und function befüllt. Es werden keine Quelldateien oder Tests genannt; fertig ist die Aufgabe, wenn ein ungültiges Template einen klaren, hilfreichen Fehler erzeugt, anstatt die Dropdowns stillschweigend leer zu lassen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100