Skip to content

give better error messages when queries in modelqueries.go break #11073

Closed
@aslilac

Description

@aslilac

We have some hand-written queries in coderd/database/modelqueries.go that need to be updated manually sometimes, in contrast to most of our queries which are generated automatically based off of our database schema. We also have some tests that will fail when these queries become out of date, which is good, but the error messages the tests end up giving don't point in the right direction.

We should improve the test cases to more directly guide you to the right place.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions