Azure / Azure/data-api-builder

Create separate config for Aspire project to fix PostgreSQL

オープン 初心者向け
#3,598 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
pgsql
主要言語
C#
スター
1.5k
フォーク
370
平均マージ
3日 22時間
マージ済み PR(30日)
9

説明

> shouldn't this be taken from env variable in Aspire or we will have separate database named config files? AppHost.cs still has the `db-type` reference which can fail for PostgreSQL ![image.png](https://github.com/user-attachments/assets/d6076781-63f5-4894-901e-3e9c3568ea6d)

_Originally posted by @souvikghosh04 in [#3597](https://github.com/Azure/data-api-builder/pull/3597/changes#r3257615147)_

The Aspire project currently depends on the environment variable `db-type` for PostgreSQL. However, the default config we ship is `mssql`. Introduce a separate config that will fix usage of Aspire project for PostgreSQL.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

AppHost.cs と提供されているデフォルト構成から始め、db-type 環境変数の参照と PostgreSQL のセットアップに焦点を当てます。Aspire がどのように構成を選択するかを追跡し、そのうえで、PostgreSQL がデフォルトの mssql 設定を使用しないよう、要求された個別の構成を追加します。完了の条件は、db-type の不一致なしに Aspire プロジェクトを PostgreSQL で使用できることです。

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

評価

技術スタック
csharp, postgresql
領域
backend, databases
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
68/100

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

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