Skip to content

validateRequired enhancements #60

@drejc

Description

@drejc
  1. config.validateRequired() does not check for empty values only nulls
  2. the throw UnsetValueException holds only item name, does not telling which exact item is not set.

For instance if you have a configuration like this:

host:
   url:
   port:

database:
   url:
   port:

UnsetValueException will for instance throw "item url not set", better would be "host.url not set"

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions