-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: use methods from expression builder callback instead of global instance #446
docs: use methods from expression builder callback instead of global instance #446
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hey 👋 Thanks! Let's make sure it is aligned with the project's prettier configuration: iirc having parenthesis around callback arguments. (eb) => ... |
There are also other issues with this PR. Please don't merge until I've reviewed it. Here's a couple off the top of my head:
|
Yeah, aggregate function tests explicitly tested both modes. I thought it was pretty obvious. 🤷 |
Hi,
Thanks! |
Yeah, revert the test changes and this is good to go. |
536cceb
to
f4f7be5
Compare
66e91c3
to
99894dc
Compare
fixes applied |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
…instance (kysely-org#446) Co-authored-by: Igal Klebanov <[email protected]>
Since Kysely is able to infer context correctly from a callback and provide increased type-safety (as explained here), I have decided to switch several use cases of expression builders to utilize callbacks instead of a global function.