tanutapi / dart_meteor

A Meteor DDP library for Dart/Flutter developers.
Other
37 stars 15 forks source link

null-safety support #26

Closed X-SLAYER closed 3 years ago

X-SLAYER commented 3 years ago

Please consider migrating to null-safety.

tanutapi commented 3 years ago

Hi, I'm preparing a new major update. After that I will migrate it to null-safety.

muhammad-hassan-shakeel commented 3 years ago

Are you guys launch null safety version now ??

tanutapi commented 3 years ago

It's still in my 2.0.0 branch. I have no time to test it in the real application yet.

YouSour commented 3 years ago

i wait for you guys upgrade this package to null safety version

tanutapi commented 3 years ago

I just upload the null-safety version to pub.dev. You guys can check it at https://pub.dev/packages/dart_meteor.

There are some breaking change on APIs to make it clearer. Most change will be shown as errors in your code after migrated to 2.0.0 and you can fix it easily.

However, if you access a DateTime value (from the collection and method) in the past, please noted that currently 2.0.0 will return you a DateTime variable rather than {'$date': millisecondsSinceEpoch} so you might update your code to fix your runtime error.

YouSour commented 3 years ago

@tanutapi version 2 support web or not ? bro