flarum / flarum/issue-archive

JS JSON:API Relationship Management Tools

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

Description

> Return relationship objects is JS Model instead of just plain arrays?
> methods like detach/attach/sync to save relationships properly via JSON-API

Consider something like https://github.com/tobyzerner/json-api-models?

From https://github.com/flarum/core/issues/246#issuecomment-137334658

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, or entry points are identified. Start by reviewing the relationship requirements in this issue and the linked json-api-models example, then define the intended model behavior and JSON:API persistence semantics. Done should include relationship objects as JS models and working attach, detach, and sync operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
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.