eclipsesource / eclipsesource/json-reconcile

4_11 needs more clarification

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

test 4_11 that is testing the update-update ordered feature variant (ii)

"The predecessor or successor of an inserted value is concurrently deleted"

**Example:**

Image

User 2 inserts a new value B after A; this value, however, A has been concurrently deleted by user 1. Thus, a conflict is reported

This should be tightly coupled to successor, predecessor

**Problem:**

Since we using Json Pointer its not out of the box to get successor, predecessor, this has to a part comes from semantic information (?) or we have to split path from json pointer get the last elem if its index, compare added and deleted but with index+1 /-1 ... ... and all that kind of messy stuff

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with test 4_11 for the update-update ordered feature variant (ii), then read the existing successor and predecessor handling. Clarify how JSON Pointer paths should identify adjacent values and define the expected conflict when the predecessor or successor is concurrently deleted; done means the test captures that decision and passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.