[Bug]: OneOf Directive is missed in Schema
メンテナーはふだん 7 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 53/100
調査の方向性
Start by comparing GraphQL schema generation in version 2.1.5 with the earlier 1.6+ behavior described in the issue, focusing on how OneOf input types are represented. Reproduce with a PostgreSQL configuration containing a OneOf input type and inspect the generated schema. Done when the schema includes @oneOf on those input types.
索引モデルが issue の本文から書いたものです。
説明
What happened?
Description :
The generated GraphQL schema is missing the @oneOf directive in the latest version of DAB. This functionality was working correctly in earlier versions (1.6+), where the schema correctly exposed OneOf input objects with the @oneOf directive.
Expected Behavior :
When generating the GraphQL schema, input objects configured as OneOf types should include the @oneOf directive in the schema output.
Actual Behavior:
The generated schema does not include the @oneOf directive
Impact :
GraphQL clients cannot discover OneOf semantics through schema introspection.
Schema does not accurately represent the intended input validation rules.
Potential interoperability issues with tooling that relies on the @oneOf directive.
Steps to Reproduce :
Configure an input type that should behave as a OneOf input.
Generate or inspect the GraphQL schema.
Observe that the @oneOf directive is not present on the input type.
Environment
Product: Data API Builder (DAB)
Previous Working Version: 1.6+
Current Version: Latest
Database: PostgreSQL
GraphQL Endpoint: Enabled
Additional Context
This behavior seems to be a regression introduced in a recent release. The same configuration generated schemas with the @oneOf directive in DAB 1.6+, but the directive is no longer emitted in the latest version
Version
2.1.5
What database are you using?
PostgreSQL
What hosting model are you using?
Static Web Apps (SWA), Container Apps
Which API approach are you accessing DAB through?
GraphQL
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 380
- 平均マージ
- 5日 11時間
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/data-api-builder のほかの issue
-
[Bug]: GraphQL fields listed after a fragment spread are silently dropped対応中かも @hippi345 が 17 日前に担当しました。 オープンbug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Azure/data-api-builder#3861 ·
メンテナーはふだん 7 日以内に返信
-
pgsql
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/data-api-builder#3598 ·
メンテナーはふだん 7 日以内に返信
-
2.x cli mcp-server
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/data-api-builder#3576 ·
メンテナーはふだん 7 日以内に返信
-
2.x health-endpoint
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/data-api-builder#3570 ·
メンテナーはふだん 7 日以内に返信
-
2.x telemetry
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/data-api-builder#3564 ·
メンテナーはふだん 7 日以内に返信
Azure/data-api-builder の issue をすべて見る
似ている issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoft/microsoft-ui-xaml#12515 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
[v5-preview5] `func new` displays incorrect command in error message when project is not initializedオープンNeeds: Triage (Functions) v5 v5-preview5
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Azure/azure-functions-core-tools#5838 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
customer-reported needs-team-triage question server-Azure.Mcp tools-Pricing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/mcp#4087 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100