Skip to content

Make dry do the work for us, report load failures.#1

Open
TreyE wants to merge 1 commit intotrunkfrom
setting_type_specifiers
Open

Make dry do the work for us, report load failures.#1
TreyE wants to merge 1 commit intotrunkfrom
setting_type_specifiers

Conversation

@TreyE
Copy link
Copy Markdown
Contributor

@TreyE TreyE commented Aug 1, 2019

Several things here:

  • We now use dry to automatically validate and convert our option
    settings. We can use dry to both perform input coercion and crawl the
    tree for us - we don't need our own code to do that.
  • Key names can be specified as strings, but will be auto-cast to
    symbols for us. If we want to ENSURE they must be symbols in the source
    yaml, we can easily put it back.
  • Don't silently swallow failures loading option files.

@TreyE TreyE requested a review from raghuramg August 1, 2019 18:48
@TreyE TreyE force-pushed the setting_type_specifiers branch 2 times, most recently from 94a0b33 to 35c4422 Compare August 1, 2019 19:26
@TreyE TreyE requested a review from ipublic August 1, 2019 20:15
@TreyE TreyE force-pushed the setting_type_specifiers branch from 35c4422 to 8297f7c Compare August 2, 2019 19:41
Several things here:
- We now use dry to automatically validate and convert our option
settings. We can use dry to both perform input coercion and crawl the
tree for us - we don't need our own code to do that.
- Key names can be specified as strings, but will be auto-cast to
symbols for us.
- Don't silently swallow failures loading option files.
@TreyE TreyE force-pushed the setting_type_specifiers branch from 8297f7c to 2cb18c1 Compare August 3, 2019 15:21
Base automatically changed from master to trunk February 11, 2021 21:54
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.

1 participant