Open rhodeon opened 1 month ago
This resolves #3619 and has some minor refactor in regards to reusable constants.
As mentioned there, the @sqlc-vet-disable query annotation now accepts a list of rules to skip:
@sqlc-vet-disable
/* @sqlc-vet-disable sqlc/db-prepare no-pg */
Providing just /* @sqlc-vet-disable */ without any parameters retains the previous behaviour of skipping all rules for a query.
/* @sqlc-vet-disable */
@kyleconroy, can you please confirm if this is something worth having? We have quite a few queries which benefit from it.
This resolves #3619 and has some minor refactor in regards to reusable constants.
As mentioned there, the
@sqlc-vet-disable
query annotation now accepts a list of rules to skip:Providing just
/* @sqlc-vet-disable */
without any parameters retains the previous behaviour of skipping all rules for a query.