Code Monkey home page Code Monkey logo

Comments (9)

aldeed avatar aldeed commented on May 18, 2024

Looks like a bug. I will fix it in the devel branch, which I hope to release in a couple days.

from meteor-simple-schema.

mikeschaekermann avatar mikeschaekermann commented on May 18, 2024

Sounds great! Thank you for your immediate reply! :)

from meteor-simple-schema.

aldeed avatar aldeed commented on May 18, 2024

This is fixed now in the devel branch. Still some work to do before everything can be released, though.

from meteor-simple-schema.

mikeschaekermann avatar mikeschaekermann commented on May 18, 2024

Thanks for fixing it!

from meteor-simple-schema.

mikeschaekermann avatar mikeschaekermann commented on May 18, 2024

Hi @aldeed, after trying out the new release, I am not quite sure if the array validation is working well now, because I got a Error: failed validation error when trying to push an element into the researchers array (see above):

Studies.update {_id: studyId}, {$push: {'researchers': {_id: userId, role: role}}}

I could not find an error in my code, so I suspect the validation to be broken, because both userId and role have reasonable values when the error is thrown.

Any help would be greatly appreciated! :)

Cheers,
Mike

from meteor-simple-schema.

aldeed avatar aldeed commented on May 18, 2024

Hmm, I don't think I tested pushing an object. I'll check it out.

from meteor-simple-schema.

mikeschaekermann avatar mikeschaekermann commented on May 18, 2024

Would be awesome! Thanks! :)

from meteor-simple-schema.

aldeed avatar aldeed commented on May 18, 2024

I believe this should be fixed now. Let me know if you're still having problems.

from meteor-simple-schema.

mikeschaekermann avatar mikeschaekermann commented on May 18, 2024

Looks very good, thank you for reacting so quickly! :)

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.