Skip to content

Conversation

@davisjc
Copy link
Contributor

@davisjc davisjc commented Mar 8, 2025

Use #[serde(default)] to provide default values for missing configuration options during deserialization. This typically makes use of the type's Default trait, but we also specify a couple default functions for standard types when a custom default is desired.

Also make number_of_queries optional to bring its semantics into alignment with the documentation in the README.md. I think it was accidentally specified as a required option.

Use #[serde(default)] to provide default values for missing
configuration options during deserialization.  This typically makes use
of the type's Default trait, but we also specify a couple default
functions for standard types when a custom default is desired.

Also make number_of_queries optional to bring its semantics into
alignment with the documentation in the README.md.  I think it was
accidentally specified as a required option.
@CLAassistant
Copy link

CLAassistant commented Mar 8, 2025

CLA assistant check
All committers have signed the CLA.

@davisjc davisjc requested a review from altmannmarcelo March 8, 2025 00:18
@davisjc davisjc closed this Mar 13, 2025
@davisjc davisjc deleted the jcd-postgresql-support-2 branch March 13, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants