Skip to content

Configuration overhaul: replace primitive types in configuration with richer types #599

@josecelano

Description

@josecelano

Parent issue: #586

For example:

  • A type SocketAddr instead of String to represent a socket address.
  • A type Ip instead of String to represent an IP.
  • A type Utf8PathBuf instead of String to represent a dir or file path.
  • ...

Avoid primitive obsession.

See torrust/torrust-tracker#854 for more examples.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions