Reject invalid directives on scalars in 15.0.0
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 85/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- graphql, kotlin
調査の方向性
SchemaParser#createScalarから始めて、無効なスカラー ディレクティブが現在どのようにログに記録され、省略されるかを確認してください。DirectiveTest.should warn about undeclared directives on scalars and build them without the schema's directivesを更新してSchemaErrorを検証し、その後、この変更を15.0.0のリリースノートに追加してください。スカラー エラーのテストとリリースノートに新しい動作が反映されたら完了です。
索引モデルが issue の本文から書いたものです。
説明
Since #864, scalars get the directives from the schema. When one of them is undeclared or has an argument its definition doesn't have, tools logs Scalar 'Date' is built without its directives from the schema: … and builds the scalar without them, because those scalars always built before. Every other type throws a SchemaError for the same mistake.
What to change
- throw the
SchemaErrorinSchemaParser#createScalarinstead of logging it - turn
DirectiveTest.should warn about undeclared directives on scalars and build them without the schema's directivesinto a test for the error - mention it in the 15.0.0 release notes
- 主要言語
- Kotlin
- スター
- 824
- フォーク
- 175
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 52
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
graphql-java-kickstart/graphql-java-tools のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
graphql-java-kickstart/graphql-java-tools#889 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
graphql-java-kickstart/graphql-java-tools#886 ·
メンテナーはふだん 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 日以内に返信
-
Directive wirings see a type reference on recursive input fields対応中かも @oryan-block が今日担当しました。 オープンbug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
graphql-java-kickstart/graphql-java-tools#875 ·
メンテナーはふだん 1 日以内に返信
graphql-java-kickstart/graphql-java-tools の issue をすべて見る
似ている issue
-
area/kotlin
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
dafonton77-tech/Cadreenf#11 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
Hy4ri/hermes-mobile#1647 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
rawnaldclark/Stash#649 ·
メンテナーはふだん 1 日以内に返信