Skip to content

Conversation

@glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Jul 23, 2020

Motivation:

The client and server builders each eventually produce a Configuration.
Each Configuration has a bunch of defaults which were duplicated
in the builder.

Modifications:

  • Builders use configuration rather than relying on their own values and
    then building a configuration

Result:

  • Less code duplication; lower chance of drift in defaults between
    configuration and builders

Motivation:

The client and server builders each eventually produce a `Configuration`.
Each `Configuration` has a bunch of defaults which were duplicated
in the builder.

Modifications:

- Builders use configuration rather than relying on their own values and
  then building a configuration

Result:

- Less code duplication; lower chance of drift in defaults between
  configuration and builders
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Jul 23, 2020
@glbrntt glbrntt requested a review from Lukasa July 23, 2020 14:37
@Lukasa Lukasa merged commit 47cb501 into grpc:master Jul 24, 2020
@glbrntt glbrntt deleted the gb-config branch August 5, 2020 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants