-
Notifications
You must be signed in to change notification settings - Fork 0
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
(lix sdk) use null | T
instead of undefined | T
#55
Comments
Using Adding a column to a table and marking it with type SomeTable = {
data: ArrayBuffer;
+ metadata: Record<string, any> | null;
}; Additional context
|
This was referenced Sep 9, 2024
we can use:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Context
kysely-org/kysely#27 (comment)
Proposal
Define database schema types as
null | T
instead ofundefined | T
to avoid bugs.The text was updated successfully, but these errors were encountered: