Code Monkey home page Code Monkey logo

Comments (4)

lucastheisen avatar lucastheisen commented on August 17, 2024

Well, i just saw this in the RFC for JSON Patch:

The "from" location MUST NOT be a proper prefix of the "path"
location; i.e., a location cannot be moved into one of its children.

So my use case is invalid (as is the test per-se)... But the lack of support for "" JSON Pointer may still be something you want to address. You can close this issue out if you would like, or modify it to deal with the JSON Pointer support.

from json-patch.

evanphx avatar evanphx commented on August 17, 2024

@lucastheisen Gotcha gotcha. Trying some other json patch implementations, they largely fail to handle when from is "", so I think we're in a bit of uncharted waters here.

from json-patch.

evanphx avatar evanphx commented on August 17, 2024

Could you have a look at #193 and give me your thoughts? Thanks!

from json-patch.

lucastheisen avatar lucastheisen commented on August 17, 2024

@evanphx , that merge looks great.

from json-patch.

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.