Azure / Azure/data-api-builder

Reduce DAB Application Name Length

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

説明

As per documentation (https://learn.microsoft.com/en-us/dotnet/api/microsoft.data.sqlclient.sqlconnection.connectionstring?view=sqlclient-dotnet-standard-5.1), application name is limited to 128 char, and right now DAB is injecting in the connection string a very long string, like

```text
dab_oss_0.9.5-rc+73a02dcd3b85a73ac36a5675432a45b7a3cc4a7d
```

can it be reduced to just the version number without the commit hash, to avoid to use too much space? for example:

```text
dab_oss_0.9.5-rc
```

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

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

調査の方向性

まず、issue にリンクされている Microsoft.Data.SqlClient の接続文字列ドキュメントを確認し、次にリポジトリ内で DAB がアプリケーション名を構築して接続文字列に注入している箇所を検索します。バージョンを維持したまま commit hash が省略され、結果として得られるアプリケーション名とその 128 文字制限について、カバレッジまたは検証があれば完了です。

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

評価

技術スタック
csharp, sql
領域
backend, databases
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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