You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
move fails with "missing value" if from is "" #192
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.
@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.
Activity
lucastheisen commentedon Jan 3, 2024
Well, i just saw this in the RFC for JSON Patch:
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.evanphx commentedon Jan 11, 2024
@lucastheisen Gotcha gotcha. Trying some other json patch implementations, they largely fail to handle when
fromis"", so I think we're in a bit of uncharted waters here.Handle from="" more properly. Fixes #192
evanphx commentedon Jan 11, 2024
Could you have a look at #193 and give me your thoughts? Thanks!
Handle from="" more properly. Fixes #192
Merge pull request #193 from evanphx/b-empty-from
lucastheisen commentedon Jan 12, 2024
@evanphx , that merge looks great.