File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010using Azure . DataApiBuilder . Config ;
1111using Azure . DataApiBuilder . Service . Configurations ;
1212using Azure . Identity ;
13+ using HotChocolate . Types . Helpers ;
1314using Microsoft . Azure . Cosmos ;
1415using Microsoft . Azure . Cosmos . Fluent ;
1516
@@ -21,8 +22,8 @@ public class CosmosClientProvider
2122 private string ? _accountEndpoint ;
2223 private string ? _accountKey ;
2324 private readonly string ? _accessToken ;
24- private const string DAB_APP_NAME_ENV = "DAB_APP_NAME_ENV" ;
25- public static string DEFAULT_APP_NAME = "dab_oss ";
25+ public const string DAB_APP_NAME_ENV = "DAB_APP_NAME_ENV" ;
26+ public static readonly string DEFAULT_APP_NAME = $ "dab_oss_ { DABUtils . GetProductVersion ( ) } ";
2627
2728 public CosmosClient ? Client { get ; private set ; }
2829 public CosmosClientProvider ( RuntimeConfigProvider runtimeConfigProvider )
You can’t perform that action at this time.
0 commit comments