Closed
Description
Version
1.13.0
What happened?
I accidentally passed 0 arguments into sqlc.narg
and received the following panic:
goroutine 1 [running]:
github.com/kyleconroy/sqlc/internal/sql/validate.ParamStyle({...., ......})
Which comes from this line:
Although this is invalid input, it would be nice to have an error message printed out.
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go