Closed jeremiahlukus closed 3 years ago
@ivoleitao Hey, other packages I have are using equatable ^2 which wont let me use stash or any of its modules. I ran the example.dart file and it appeared to work correctly. I updated the sdk restraints you don't use stringify in the project so it returning "null" as opposed to "" shouldn't matter to you.
String toString() => 'Cyclic error in JSON stringify';
is the only place i see stringify so it really shouldn't matter.
Hi ! You can use the null safety version that I published: https://pub.dev/packages/stash/versions/2.0.0-nullsafety.3. This version already uses equatable 2.0.0
https://github.com/ivoleitao/stash/blob/prerelease/pubspec.yaml.
Try to use this version as it should solve your issue
I intend to move the package out of prerelease state as soon as I'm able to migrate the stash_moor package as it is still dependent on build_runner migration (which should happen this week, I hope)
Status
READY
Breaking Changes
NO
Description
Update equatable to ^2.0.0
Related PRs
List related PRs against other branches:
Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
Impact to Remaining Code Base
This PR will affect: From equatable: BREAKING: opt into null safety feat!: upgrade Dart SDK constraints to >=2.12.0-0 <3.0.0 BREAKING: stringify prints "null" for null properties instead of ""