Skip to content

chore(Database types): Infer query params from database model#7512

Merged
jackkav merged 1 commit intoKong:developfrom
gatzjames:chore/db-types
Jun 7, 2024
Merged

chore(Database types): Infer query params from database model#7512
jackkav merged 1 commit intoKong:developfrom
gatzjames:chore/db-types

Conversation

@gatzjames
Copy link
Contributor

Highlights:

  • Adds a generic type to the database Query type. This allows us to safely query specific properties of any database model
  • Removes a bunch of ts-expect-error

@gatzjames gatzjames self-assigned this Jun 7, 2024
@gatzjames gatzjames requested a review from a team June 7, 2024 09:16
@gatzjames gatzjames enabled auto-merge (squash) June 7, 2024 10:27
@jackkav jackkav disabled auto-merge June 7, 2024 10:32
@jackkav jackkav merged commit 48eea15 into Kong:develop Jun 7, 2024
stefancruz pushed a commit to stefancruz/insomnia that referenced this pull request Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants