JSONAPI-Resources / JSONAPI-Resources/jsonapi-resources

Official Sequel (and other ORMs) Support Thread

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

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

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

説明

I'm working on the Sequel adapter for this library. With it, I will do the following:

  • Take the library to actually being fully decoupled from ActiveRecord, just like Rails (if you want to use Rails without having ActiveRecord in your top-level namespace, you can). It would be nice to have this also be a characteristic of this library.
  • Support Sequel - be able to run all the specs with all the original models but interfacing with Sequel. This can be done by changing the "ORM" environment variable when running specs.

The library seems to be written with the intent for it to be decoupled from the orm used by the user but doesn't go all the way. With this, the orm specific logic will be housed in one place.

Any additional thoughts or opposition to the idea?

Any other Sequel or other ORM users out there who want to use this library? Please like this so I know how many of you are out there...

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

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

はじめの一歩

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

調査の方向性

まず、ライブラリの ORM 環境処理と、このスレッドで説明されている ActiveRecord 固有のロジックを確認します。現在の ORM 設定で既存の specs を実行し、その後、Sequel のサポートと ORM の分離に必要な範囲を判断します。完了とは、Sequel に対して specs がパスし、提案どおり ORM 固有のロジックが分離されていることを意味します。

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

評価

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

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

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