Closed urbanmania closed 8 months ago
You have to run flutter pub run build_runner build --delete-conflicting-outputs
after upgrading cloud_firestore_odm_generator. Generator is responsible for generating .g.dart files, if you don't execute it it's as if you didn't updated the dependency.
I'm so sorry, I forgot to run the build_runner. This is fixed, just me being unprofessional
Well, you took time to create a project showcasing the problem for your issue so nobody is going to say you are unprofessional. I forget to run build_runner after a version update half of the time, that's how I knew immediately what to look after cloning your repo ;o)
Expected Behavior
I'm expecting to be able to use whereFieldPath(FieldPath(const ["rolesQuery"]), arrayContains: auth.currentUser!.uid)
Actual Behavior
I get an error: You cannot use '!=' filters more than once.
Steps to Reproduce the Problem
This project here re-creates the problem - https://github.com/urbanmania/test_project
Specifications