-
Notifications
You must be signed in to change notification settings - Fork 454
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
Filter for and set null values #2330
Comments
I just got back from a conference but i'm hoping to collect the last 2.3.1 issues and do a release this next week. |
will this be ready by Friday? @evanchooly |
2.3.1 went out this week, btw. |
Thank you for the quick turnaround!
…On Fri, Apr 21, 2023 at 11:01 AM Justin Lee ***@***.***> wrote:
2.3.1 went out this week, btw.
—
Reply to this email directly, view it on GitHub
<#2330 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA55MWSGW2KTPMEMAJ3UVXDXCKOLZANCNFSM6AAAAAAWRQ57HE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
No problem. I did a quick audit and i think I've corrected all the places that should allow for null values but if I missed some please do let me know. Annotating at the package level is a very broad brush but it's the easiest route to get things done. |
thank you so much we will check if we still missing nullable params! |
Hi,
I'm wondering if I am missing an obvious workaround here.
What is the correct way to filter for null values? The value parameter for filter methods are not marked with
@Nullable
and the package is marked as@NonNullApi
in package-info.javaHow can Morphia be used with Kotlin when the the variable is defined as nullable with, for instance
Any?
?A similar problem exists at least with the Update operations. They also do not allow for null values. So how can you set a value to null in an update?
Thanks,
Bob
** Please complete the following information: **
Server Version: 4.2.22
Driver Version: 4.2.3
Morphia Version: 2.2.10
The text was updated successfully, but these errors were encountered: