bitwalker / bitwalker/conform

Troubles getting started

Open
#155 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
378
Forks
59
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I'm trying to get started for the first time with conform. Having some trouble with what I thought would be the easy part! :)

I have an umbrella app - one of the applications inside houses an `ecto` repo. I decided to try to start pulling in conform in that app as it would be easiest to know if something was broken.

I've created `shared_repo.schema.exs` and `shared_repo.dev.conf`. If I use `mix conform.effective`, I see some values I expect:

```elixir
shared_repo: [
{SharedRepo.Repo,
[
adapter: Ecto.Adapters.Postgres,
database: "myapp_dev",
hostname: "localhost",
loggers: [
{Ecto.LogEntry,
:log,
[]}
],
pool_size: 10
]},
{:ecto_repos,
[SharedRepo.Repo]}
]
```

However, when I attempt to boot the app, it blows up as it can't find a `database` key inside the configuration for the repo. I'm a bit confused and don't know what to do next. The app boots fine just using a standard `config.exs` and `config.dev.exs`.

Any help you could provide would be appreciated!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.