JSONAPI-Resources / JSONAPI-Resources/jsonapi-resources

JSON API document parsing maybe could be extracted to its own gem?

オープン
#556 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Type: Enhancement
主要言語
Ruby
スター
2.3k
フォーク
546
PR マージ指標
30日以内にマージされた PR はありません

説明

It seems there is a lot of re-doing of parsing a full JSON API document going around.

It would be cool to have a common interface between all the gems that need to work with json api documents.

I was looking at the Request object, and thought that would be a good one to abstract out to its own gem. maybe give it a lightweight interface for accessing the id and the attributes, maybe relationships and their ids and attributes.

thoughts?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

issue で言及されている Request オブジェクトから始め、影響を受ける gem 全体で完全な JSON API ドキュメントがどのように解析されるかを比較してください。共有インターフェースと抽出境界を定義し、提案された gem が ids、attributes、relationships、および relationship の ids または attributes を公開できることを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
ruby
領域
api, backend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。