Skip to content

refactor: remove redundant queryId args.#1483

Merged
igalklebanov merged 1 commit intokysely-org:masterfrom
igalklebanov:remove-redundant-queryid
Jun 8, 2025
Merged

refactor: remove redundant queryId args.#1483
igalklebanov merged 1 commit intokysely-org:masterfrom
igalklebanov:remove-redundant-queryid

Conversation

@igalklebanov
Copy link
Copy Markdown
Member

Hey 👋

This PR does some cleanup. queryId has been recently added to CompiledQuery, but a bunch of places still accept both a CompiledQuery and a queryId which is redundant.

There's only 1 user-facing place this occurs, and instead of removing the arg, we keep it as optional and log a deprecation message.

@igalklebanov igalklebanov added deprecation Something is/should be deprecated internal labels Jun 8, 2025
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kysely ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 8, 2025 10:10pm

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jun 8, 2025

kysely_koa_example

npm i https://pkg.pr.new/kysely-org/kysely@1483

commit: 59f0089

@igalklebanov igalklebanov merged commit 5647fe3 into kysely-org:master Jun 8, 2025
28 checks passed
@igalklebanov igalklebanov deleted the remove-redundant-queryid branch June 8, 2025 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecation Something is/should be deprecated internal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant