Clever / wag

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

fix package import - should only be imported when there are transactions #475

Closed dxu429 closed 8 months ago

dxu429 commented 8 months ago

https://clever.atlassian.net/browse/DD-5011

This import should only be generated when there are transactions in any table. This was introduced in the lastest version: https://github.com/Clever/wag/pull/473

Testing

with v9.1.4, the import included but was unused which caused build errors

Screenshot 2024-03-04 at 3 45 21 PM Screenshot 2024-03-04 at 3 46 48 PM

with this fix: Screenshot 2024-03-04 at 1 31 10 PM