Skip to content
Discussion options

You must be logged in to vote

Option G - custom operation with valid JSON Pointer string for path

This option is the result of a meeting held by Team Platform Frontend and from its perspective the most preferable syntax. It is inspired by option D1 above, but takes into account the fact that /nesteCollection/ID would make the path an invalid JSON Pointer.

{ "op": "remove-by-id", "path": "/nestedCollection”, "id": "oXD88WWSQpR" }

Some motivations for preferring this syntax:

  • We should implement removal of nested collection items by ID as a custom operation, instead of adding custom behaviour to existing operations
  • About the custom operation name:
    • The operation should be specific / have a very narrow scope. Since we a…

Replies: 7 comments 20 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@amcgee
Comment options

@amcgee
Comment options

@mortenoh
Comment options

Comment options

You must be logged in to vote
5 replies
@amcgee
Comment options

@ghost
Comment options

@amcgee
Comment options

@amcgee
Comment options

@amcgee
Comment options

Comment options

You must be logged in to vote
6 replies
@ghost
Comment options

@amcgee
Comment options

@amcgee
Comment options

@HendrikThePendric
Comment options

HendrikThePendric Mar 28, 2022
Collaborator Author

@amcgee
Comment options

Comment options

You must be logged in to vote
2 replies
@HendrikThePendric
Comment options

HendrikThePendric Mar 29, 2022
Collaborator Author

@mortenoh
Comment options

Comment options

You must be logged in to vote
2 replies
@Mohammer5
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
2 replies
@mortenoh
Comment options

@HendrikThePendric
Comment options

HendrikThePendric Apr 20, 2022
Collaborator Author

Answer selected by HendrikThePendric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants