Skip to content

NetworkBuilder should adopt an immutable design #54

@vermorel

Description

@vermorel

The NetworkBuilder has many setter methods that returns an instance of the NetworkBuilder. This allows fluent APIs. However, when this design is used, then the class should be made immutable, returning a fresh instance every time (for config-stuff, overhead is mostly irrelevant).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions