Skip to content

DuckDBConnectionStringBuilder's property set is quite anemic #346

Description

@masonwheeler

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions