Open jrschumacher opened 1 month ago
@strantalis we've been using this in COP and it's been a great experience. I'll review with you next week.
Unfortunately during a test implementation I discovered that sqlc, though it integrations with goose for migrations, does not support dynamic schemas. Due to our reuse of connection pools across services and configurable schema names, we cannot use sqlc at this time or generated statements will lack schemas and result in "relation not found" errors.
Once we enhance our connection pool story (see #681), we can revisit configuring the schema at the connection level and working past this limitation.
Look at using ResourceMappings or SubjectMappings since they are smaller and less complex.
https://sqlc.dev/