mapbox / mapbox/cardboard

Allow concurrent updates to properties hash

Open
#150 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
55
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Can we add a method that allows the caller to add or overwrite a key/value pair in a feature's properties hash? Can we get away with managing conflicting writes via last-in-last-out, or is there a better approach we can take?

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. First locate how a feature's properties hash is updated, then determine the intended behavior for concurrent additions and overwrites, including whether last-in-last-out ordering is acceptable. Done means the update API and conflict semantics are defined and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.