Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug]: Multi Datasource rest and swagger not working

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
azure, csharp, openapi, sql
領域
api, backend, database

調査の方向性

レポートにはファイル、テスト、設定、またはログ出力が記載されていません。まず Azure SQL を使用したマルチデータソース構成を再現し、2 番目の datasource について、500 レスポンスを含む REST と Swagger/OpenAPI の動作を調査してください。両方の datasource がそれぞれのメソッドを公開し、テーブルへの挿入が成功すれば完了です。

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

説明

bug cri triage
What happened?

Hello, I have tried a couple different versions of creating a multi datasource configuration. I have two databases, that I want to use one DAB instance to span across (not joining data or anything, just exposing endpoints for the two databases). I have deployed this in a test/dev environment and I have swagger picking up the entities in the second config (datasource and entities only in this one) file but is not picking up the methods available. That said, when I try to post to a couple of the tables to do inserts I get 500 errors, but the stored procedure calls work fine and the reads seem to work fine.

Version

1.7.93

What database are you using?

Azure SQL

What hosting model are you using?

Container Apps

Which API approach are you accessing DAB through?

No response

Relevant log output

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要言語
C#
スター
1.5k
フォーク
371
平均マージ
9日 2時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

Azure/data-api-builder のほかの issue

Azure/data-api-builder の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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