Giter VIP home page Giter VIP logo

Comments (4)

sagacity avatar sagacity commented on June 4, 2024

Yes, it should. We should probably ignore it by default, but simply using the ignore option is the way to go.

from knockout.mapping.

abp avatar abp commented on June 4, 2024

Ok, it was a little annoying at first. But because this is a very early version i thought it could be a bug.

What could the mapping be used for on the resulting object? I mean, why do you prefer to keep it instead of ignoring it by default?

from knockout.mapping.

sagacity avatar sagacity commented on June 4, 2024

There is absolutely no reason you would need it, it's just a bug. I hadn't fixed it yet because I'm not sure if we need the mapping.toJS when there's already a toJS in ko itself. Once that gets the 'ignore' functionality I can probably remove it from the mapping plugin.

But thanks for noticing though, I'll keep this issue open for now so we can properly handle it later.

from knockout.mapping.

sagacity avatar sagacity commented on June 4, 2024

This is now fixed.

from knockout.mapping.

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.