You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was expecting an error or warning when I used query type unsupported by a database. sqlc generate outputs query string and struct but not the function. All other functions are generated.
But playground returns 500 maybe cli is hiding some errors?
1.25.0 playground behaves as 1.26.0 cli (not returning 500 and not generating function)
Relevant log output
No response
Database schema
CREATETABLEauthors (
id BIGSERIALPRIMARY KEY,
name textNOT NULL,
bio text
);
Version
1.26.0
What happened?
I was expecting an error or warning when I used query type unsupported by a database.
sqlc generate
outputs query string and struct but not the function. All other functions are generated.But playground returns 500 maybe cli is hiding some errors?
1.25.0 playground behaves as 1.26.0 cli (not returning 500 and not generating function)
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/fa302952484e0740e4bb2cc57c92950ad07e5c94e373391eff5e58e769116444
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: