Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Map values #5

@mythmon

Description

@mythmon

Similar to #4, map (aka record, struct, object) types should be supported. The keys should always be strings, but the values can be customizable. The two separators should be configurable.

{
  debug: g.map(g.string()),
  extraHeaders: g.map(string()).delimiters({field: ";", value: ":"}),
}

and the matching env

LOG="http=error,fs=warn,db=info"
EXTRA_HEADERS="Cache-Control: public; X-Custom-Header: cool-cats"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions