Skip to content

enhancement to :as-is? for specific value conversions #41

@codeperfector

Description

@codeperfector

:as-is? was introduced in a previous issue as a solution to handle situations where number conversion is attempted if a value is a date or an ip address. #27
But I think it is still useful to preserve the normal parsing behavior of cprop for all other values in my env or property edn files.
I proposed a way to allow this using :as-is-paths which is a set of paths that can be provided for which if the property keys match, then no value conversion is done. All other values are parsed in the normal manner.
See PR #40

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