Clever / wag

sWAGger - Web API Generator
Apache License 2.0
77 stars 6 forks source link

[INFRANG-6383] Fix composite key bug, remove auto test generation #497

Closed andruwm closed 5 days ago

andruwm commented 6 days ago

Jira

https://clever.atlassian.net/browse/INFRANG-6383

Overview

As part of the above ticket, I needed a composite key in a GSI which also did not contain a RANGE key. This caused an invalid output. This PR fixes that bug, and also adds a new flag to prevent test generation by default. Generated tests are useful for developing WAG, but are not used in other clever Repos and therefor just add bloat.

Testing

Tested against sample case in samples.

Checklist