An ADO.NET connection string builder class is meant to allow users to build a connection string programmatically in a safe, well-typed manner. Every configuration value should have a property, with the appropriate data type, so that they can be found via reflection and thus be available to Intellisense for developers to use. This is table stakes. A truly well-designed connection string builder class should also annotate the properties with the appropriate category and description attributes, so that a property inspector can categorize them in a useful way.
DuckDBConnectionStringBuilder has none of that. It exposes only a single property, DataSource, despite the documentation listing over 100 valid properties. Furthermore, it bizarrely treats every property name that is not a data source as invalid if accessed by name. This makes the connection string builder highly inaccessible to both users and tooling.
Would it be possible to bring this connection string builder up to snuff?
An ADO.NET connection string builder class is meant to allow users to build a connection string programmatically in a safe, well-typed manner. Every configuration value should have a property, with the appropriate data type, so that they can be found via reflection and thus be available to Intellisense for developers to use. This is table stakes. A truly well-designed connection string builder class should also annotate the properties with the appropriate category and description attributes, so that a property inspector can categorize them in a useful way.
DuckDBConnectionStringBuilderhas none of that. It exposes only a single property,DataSource, despite the documentation listing over 100 valid properties. Furthermore, it bizarrely treats every property name that is not a data source as invalid if accessed by name. This makes the connection string builder highly inaccessible to both users and tooling.Would it be possible to bring this connection string builder up to snuff?