Coder Social home page Coder Social logo

Comments (5)

atn832 avatar atn832 commented on June 24, 2024 1

I forgot to mention it, but I published your fix in version 2.2.0 last week: https://pub.dev/packages/fake_cloud_firestore/changelog#220. Thanks for taking care of this long-standing issue!

from fake_cloud_firestore.

atn832 avatar atn832 commented on June 24, 2024

It actually throws this error:

  Converting object to an encodable object failed: Instance of 'GeoPoint'
  dart:convert                                                             JsonEncoder.convert
  package:cloud_firestore_mocks/src/cloud_firestore_mocks_base.dart 39:30  MockFirestoreInstance.dump

from fake_cloud_firestore.

pooja96km avatar pooja96km commented on June 24, 2024

Have you found a solution to this issue?

from fake_cloud_firestore.

atn832 avatar atn832 commented on June 24, 2024

The solution is to handle GeoPoint at https://github.com/atn832/cloud_firestore_mocks/blob/1b556fb34c02d18488f6f120f4d3808e0e5dc6cd/lib/src/util.dart#L41. I haven't had the time to handle it so far. If you need it urgently, feel free to contribute a PR and I'll be happy to review it.

from fake_cloud_firestore.

gaburielcasado avatar gaburielcasado commented on June 24, 2024

@atn832 I created a PR (#257) to handle this. Please let me know if that's acceptable

from fake_cloud_firestore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.