Motivation
When created, the snippet element can't be referenced in the same request. Improving the current solution would be nice.
Proposed solution
Firstly, check whether diff creates a move operation for this snippet. If not, add the patch operation for this element - it would probably need some differentiator from other move operations.
There are two options:
- send another request to move snippet elements
- print where the snippet should be moved manually from UI