Remove `BiMap` and `SchemaParserDictionary.getDictionary()` in 15.0.0
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
Read the changes in #861, then locate SchemaParserDictionary, BiMap, BiMapTest, and SchemaParserDictionaryTest to identify the deprecated API and tests named in the issue. Before removing them, check GraphQLJavaToolsAutoConfiguration in graphql-spring-boot and confirm that dependent release uses toMap(). Done means the listed API and tests are removed and the Spring Boot call site has migrated in a compatible release.
索引モデルが issue の本文から書いたものです。
説明
#861 replaces the library's own use of graphql.kickstart.tools.util.BiMap with plain maps and adds SchemaParserDictionary.toMap(). getDictionary() and BiMap stay for now because they're public, and are deprecated. We should remove both in the next major release (15.0.0).
It's a breaking change, so it can't go into a 14.x release. getDictionary() returns a BiMap, so dropping the class means dropping the method too, and changing its return type in place breaks binary compatibility anyway.
What to remove
SchemaParserDictionary.getDictionary()graphql.kickstart.tools.util.BiMapandBiMapTest- the
getDictionary()test inSchemaParserDictionaryTest
Before removing
graphql-spring-boot calls builder.dictionary(dictionary.getDictionary()) in GraphQLJavaToolsAutoConfiguration. It needs to switch to toMap() in a release that depends on a graphql-java-tools version that has it.
Migration
// before
builder.dictionary(dictionary.getDictionary())
// after
builder.dictionary(dictionary.toMap())
- 主要言語
- Kotlin
- スター
- 824
- フォーク
- 175
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 59
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
graphql-java-kickstart/graphql-java-tools のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
graphql-java-kickstart/graphql-java-tools#893 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
graphql-java-kickstart/graphql-java-tools#905 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
graphql-java-kickstart/graphql-java-tools#889 ·
メンテナーはふだん 1 日以内に返信
-
Reject directives applied at the wrong location, without a required argument or twice in 15.0.0オープンenhancement
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
graphql-java-kickstart/graphql-java-tools#884 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
graphql-java-kickstart/graphql-java-tools#881 ·
メンテナーはふだん 1 日以内に返信
graphql-java-kickstart/graphql-java-tools の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
lysine-dev/okhttp#9814 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getdictus/dictus-android#187 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
bryangerlach/rdgen#319 ·
-
documentation follow-up
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信