Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from origin master #1

Merged
merged 4 commits into from
Nov 10, 2018

Conversation

smikula
Copy link

@smikula smikula commented Nov 9, 2018

I did some refactoring in master that has some obnoxious conflicts with your changes, so I went ahead and did the merge for you.

With this refactor, we now normalize the config objects at load time so that the rest of the app doesn't need to worry about all the possible variations in how the user may provide the config.  For the purposes of typing, `RawWhatever` refers to the type the user is allowed to provide, and `Whatever` is the normalized type that the rest of the app will consume.  E.g.

```
dependencies: ["foo", "bar"]
```

...gets normalized to...

```
dependencies: [
    {
        "dependency": "foo",
        "accessibleTo": null
    },
    {
        "dependency": "bar",
        "accessibleTo": null
    },
]
```

I also normalize the options object in the same way.
@jstevans jstevans merged commit 31b415b into jstevans:requireFenceJson Nov 10, 2018
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.

2 participants