Skip to content

Conversation

fischerscode
Copy link
Contributor

@fischerscode fischerscode commented Jun 9, 2021

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 in QueryBuilder 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

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 :-)
@RodrigoSMarques
Copy link
Contributor

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.

@fischerscode
Copy link
Contributor Author

@RodrigoSMarques
Great!
I've updated the version and changed the test to always use the dart package in "../dart".

@RodrigoSMarques RodrigoSMarques merged commit a25d4a9 into parse-community:nullsafety Jun 11, 2021
@mtrezza
Copy link
Member

mtrezza commented Aug 4, 2021

@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.

@fischerscode
Copy link
Contributor Author

@mtrezza
Thanks for the invite, I've accepted it and currently there are no questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants