JSONAPI-Resources / JSONAPI-Resources/jsonapi-resources

No clear way of scheduling jobs / doing anything outside the main transaction

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

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

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

説明

Currently, there is no clear way of scheduling jobs, or doing anything other outside of the main transaction in every request. There has been a Issue on this, but it is no longer relevant due to changes in the OperationsDispatcher.

While there is an after_process_operations callback on the controller, how to get any data on the updated/created/viewed resource is not clear from the docs, and also not immediately clear from the source.

Any information on this would be greatly appreciated.

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

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

はじめの一歩

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

調査の方向性

Start with the controller's after_process_operations callback and the OperationsDispatcher, then compare the current source with the existing documentation. Clarify how data for updated, created, or viewed resources can be accessed and how work can be scheduled outside the main transaction. Done means the documented guidance answers these use cases without relying on the superseded issue 503.

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

評価

技術スタック
rails, ruby
領域
api, backend, documentation
issue の種類
ドキュメント
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
34/100

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

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