Skip to content

Warn when environment defaults are not strings #43

Closed

Description

@DanBurton

It seems fishy to me that one can set

:env {:port 5000}

And that this is loaded as the number 5000, but if one's environment variables override this with (for example) PORT=5001 lein run, then :port will be set to the string "5001". This can lead to subtle bugs.

It makes more sense to me to only allow string values in the environment map. Or at least, to log a warning when non-string environment default values are loaded.

Activity

  1. weavejester commented on Dec 18, 2015

    @weavejester
    Owner

    This issue is already covered by #36.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions