Skip to content
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

[firestore_serialize] Not compatible with analyzer 0.40.0 #41

Open
ciriousjoker opened this issue Aug 31, 2020 · 2 comments
Open

[firestore_serialize] Not compatible with analyzer 0.40.0 #41

ciriousjoker opened this issue Aug 31, 2020 · 2 comments

Comments

@ciriousjoker
Copy link
Contributor

For some reason, to get firestore_serialize to build, right now I have to override to analyzer 0.39.14 since 0.39.15 breaks.0.39.14 doesn't seem to be compatible with flutter >1.18, so right now I'm stuck an old flutter version.

@ciriousjoker
Copy link
Contributor Author

@lukas-h

  • I've forked this repo and fixed this issue locally. My fork now has all dependencies at their latest versions.
  • Also, I updated the syntax to the latest cloud_firestore (0.14), which uses .data()["field"] instead of .data["field"]

In fixing the repo, I broke the test case though. It does compile perfectly using this command:
flutter pub run build_runner build --delete-conflicting-outputs

This is the error message when I'm trying to run the test:

Bildschirmfoto 2020-10-22 um 23 39 30

searchable text ``` Expected: empty Actual: Set:[ 'firestore_serializable/lib/src/deserialize_helper.dart', 'firestore_serializable/lib/src/helper.dart', 'firestore_serializable/lib/src/serialize_helper.dart', 'firestore_serializable/lib/src/utils.dart' ]

package:test_api expect
expectBuildCleanImpl
package:build_verify/src/impl.dart:26
expectBuildClean
package:build_verify/build_verify.dart:23
main.
test/ensure_build_test.dart:8

</details>

@ciriousjoker
Copy link
Contributor Author

@lukas-h Can you merge the PR please?

#42

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

No branches or pull requests

1 participant