Skip to content

Move from using GenServer for configuration #62

Description

@a3kov

Using GenServer to load configuration is not only unnecessary, but also harmful. As the server is not running in migrations, if you try to insert data into encrypted field in a data migration, you get misleading error about mismatched ecto types, while the cause is the dump callback unable to access the field configuration.

With runtime.exs configuration file it would be straightforward. Plus, ets woudn't be needed either.

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