Giter VIP home page Giter VIP logo

Comments (4)

aldeed avatar aldeed commented on August 14, 2024

I can't test it out right now, but by looking at it, it seems like a bug with the requirement check. I don't think our tests cover complex combinations of required props, so I'll add some similar tests and then make sure everything works. It might not be until early next week, though. Feel free to do a PR before then if you can fix it, but the validation logic is pretty complex and confusing to the uninitiated. :)

from meteor-simple-schema.

aldeed avatar aldeed commented on August 14, 2024

This is fixed in the latest release.

from meteor-simple-schema.

chrisbutler avatar chrisbutler commented on August 14, 2024

Hey @aldeed, I think I'm having this issue with 0.2.14. I can $set an entire array just fine, but when I try to $push a single item, validation fails with all the schema keys listed in invalidKeys()

If it will help, I'd be happy to provide you with an example, but I thought it might make sense to ping you first before taking that step

from meteor-simple-schema.

aldeed avatar aldeed commented on August 14, 2024

@chrisbutler, an example would be good. $push seems to work fine based on the tests.

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.