Giter VIP home page Giter VIP logo

Comments (4)

serkandurusoy avatar serkandurusoy commented on August 14, 2024

Also, a successful update operation returns undefined as well. I don't know it was ever supposed to return something, though.

from meteor-simple-schema.

aldeed avatar aldeed commented on August 14, 2024

I added some additional tests, and they seem to indicate this is working properly, albeit not with your exact test schemas, but with similar ones. Is it possible there are errors happening? If a client operation passed validation on the client but then fails validation on the server, the server errors are not propagated back to the client, so invalidKeys might be undefined (although I think it should be []).

Can you post code that provides the simplest possible example that reproduces this every time, including the insert/update calls you are using?

from meteor-simple-schema.

aldeed avatar aldeed commented on August 14, 2024

I noticed that thing about the update result being undefined, but it wasn't always happening and I couldn't find any cause. I assumed it was maybe a mongo-livedata issue, but I'll keep an eye on it.

from meteor-simple-schema.

serkandurusoy avatar serkandurusoy commented on August 14, 2024

Hmm, this is embarrassing/interesting. I did a meteor reset, cleaned up old builds and rerun the project only to see that it works fine! I should have done my homework better.

from meteor-simple-schema.

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.