Skip to content

Turn inject/1 into macro to avoid calling Application.get_env #6

@teamon

Description

@teamon

It should be possible to convert inject/1 function into macro that would check application config only once and removed itself completely from the compiled code when inject usage is disabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions