-
-
Notifications
You must be signed in to change notification settings - Fork 213
LiveList/LiveQuery nullsafety #640
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
LiveList/LiveQuery nullsafety #640
Conversation
We might have to discuss, wether we consider this to be a breaking change compared to 3.0.0. I have named the new version 3.0.1 for now. I think this should be fine. This change makes sense, as setting object to null (possible with the prior default constructor) would brake the whole QueryBuilder.
this should break nothing and instead fix forced not-null casts on null objects
this makes the code easier to maintain
this makes the code easier to maintain
this should break nothing and instead fix forced not-null casts on null objects
this should break nothing and instead remove forced not-null casts on null objects
this should break nothing and instead remove forced not-null casts on null objects
I think those where missed when splitting the package.
This fixes a bug where a "Null check operator used on a null value"-error
I've broken this part while removing the not-null casts. My second attempt works :-)
Hey @fischerscode. Very good. Change the version to 3.1.0. I'm validating other PR and will ask @phillwiggins to release this fix and other improvements next week. |
@RodrigoSMarques |
@fischerscode I notice that you have currently access to this repository, granted on an individual basis. Since we are moving to team-managed permissions, I will go ahead and convert your permissions by inviting you to the repository as team member and removing your individually granted access. Please let me know if you have any questions. |
@mtrezza |
TLDR: No new features, just fixes arround the ParseLiveList.
While migrating my app, I've noticed LiveList has been broken due to the null-safety migration. I've decided to go through the entire LiveQuery and LiveList part in order to remove those not-null casts (
something!
).Additionally I've changed
object
inQueryBuilder
from nullable to not-nullable. In theory this is a breaking change, as we formally allowed null as the argument in the default constructor before. But as setting it to null would result in a crash, I think we should be fine with updating the version number to just "3.0.1".Close #612