Azure/data-api-builder

Reduce DAB Application Name Length

Open

#1,759 opened on Sep 28, 2023

View on GitHub
 (0 comments) (1 reaction) (0 assignees)C# (348 forks)auto 404
hacktoberfest

Repository metrics

Stars
 (1,459 stars)
PR merge metrics
 (PR metrics pending)

Description

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

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:

dab_oss_0.9.5-rc

Contributor guide