Add a general-purpose `Contextualizable` interface for all handlers to support
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- java
調査の方向性
この issue ではファイルやテストが指定されていません。まず既存のコンテキスト化された serializer と deserializer を見つけ、次に DatabindContext、DeserializationContext、SerializerProvider が handler にどのように渡されるかを追跡してください。関連する handler の種類とコンテキスト型をカバーする一般的な Contextualizable インターフェースのスコープと設計が決まっていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
(or, if need be, more than one)
Currently a small set of handlers can be "contextualized": that is, called with context within Object Graph, as specified by Property for which handler is related. This set mostly consists of serializers and deserializers.
But there are many other handlers, especially ones added via annotations, that do not get a chance to change their behavior based on context. It seems quite doable to allow use of an add-on interface like, say, Contextualizable that would allow (re)configuration in this way.
One interface may or may not be doable, due to:
- Difference between reading (deserialize) and writing (serialize) taking different context object (
DeserializationContextvsSerializerProvider) -- although, they are both subtypes ofDatabindContextso maybe this is not a fundamental problem. - Are there other kinds of context beyond property-bound one? Class annotations might just take
JavaType?
- 主要言語
- 言語のデータがありません
- スター
- 6
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
似ている issue
-
fix(api): optimize-for-web /preview outer catches miss asDecoderOutOfMemory on V8 OOM and SIGKILLオープンarea: backend bug priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
snapotter-hq/SnapOtter#3773 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
khuisman/mcp-gee-sweet#1166 ·
メンテナーはふだん 1 日以内に返信
-
control-plane security
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Usenova-Labs/usenova-backend#29 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
gramaziokohler/compas_timber#870 ·
-
queue stdout mixes human notices with JSON: move trailer + compact notice + receipt text to stderrオープンarea: queue-scope bug confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mvschwarz/openrig#1806 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信