Skip to content

Write something that makes it easy to validate a yaml file #14

Description

@mw44118

A common source of (minor) bugs is when we forget to add an entry to a prod.yaml file.

It would be fun it the configwrapper code could verify that all keys exist in a yaml file, like:

$ xyz-config --verify scratch.yaml

and then all the properties would be accessed.
Maybe instead of using code like

@property
def google_maps_API_key(self):

We could define a thing like required_entry that does the exact same thing, but then also, registers this property as one to be verified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions