Git Product home page Git Product logo

Comments (6)

vinerich avatar vinerich commented on June 4, 2024 1

@codepunkt shouldn't be something with the newest version. (I hope)

@intermx-reddysai can you show us the three patch records and the document you try to rollback?
Edit: Plugin config would be nice too! Which options are you using?

Thanks!

from mongoose-patch-history.

vinerich avatar vinerich commented on June 4, 2024 1

Thanks for your response!
Could you share a few more details with us so we can look into it?

  1. Are you updating the array through push/pop operations or with save?
  2. Which plugin config are you using?
  3. What exactly is not working as expected? I mean what is happening that is different?

Thanks!

from mongoose-patch-history.

codepunkt avatar codepunkt commented on June 4, 2024

@vinerich any ideas?

from mongoose-patch-history.

intermx-reddysai avatar intermx-reddysai commented on June 4, 2024

I have three patch records with the same reference Id, to get the first and/or second patch version, it is not working with the rollback.

from mongoose-patch-history.

vinerich avatar vinerich commented on June 4, 2024

Hey @intermx-reddysai any news on this? Did you fix your error?
Let us know!

from mongoose-patch-history.

intermx-reddysai avatar intermx-reddysai commented on June 4, 2024

That was because of ObjectId, it is not working properly on ObjectId.

I had a model field with array of mongoose object Ids. If I update any of the object id, it is not working as expected.

from mongoose-patch-history.

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.