Clever / wag

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

Fix common initialisms for batch deletes #416

Closed venalen closed 2 years ago

venalen commented 2 years ago

I ran into an issue in the dynamo batch delete code where a composite index wasn't being properly capitalized since it was a common initialism (i.e: it was giving me ms[i].Id instead of ms[i].ID). Luckily there's a handy utils function that handles these initialisms, so we should use it when generating the composite index for batch deletes.