Bread
Bread
AEAsh Elixir
Created by Bread on 2/22/2023 in #support
Fly.io deployment with ash_authentication
I'm trying to deploy the new version of my app with ash_authentication but I get an error at this line:
signing_secret(Application.compile_env(:todoish, TodoishWeb.Endpoint)[:secret_key_base])
signing_secret(Application.compile_env(:todoish, TodoishWeb.Endpoint)[:secret_key_base])
invalid value for :signing_secret option: expected string, got: nil
invalid value for :signing_secret option: expected string, got: nil
I'm guessing this is because it's trying to grab the secret during compile time (could be wrong). I also tried using fetch_env! with the same results.
9 replies
AEAsh Elixir
Created by Bread on 2/21/2023 in #support
One way `has_many` relationships
Are you able to have a has_many relationship where it's just one way? I.e. I have a User resource which can have many List resources but I don't every really care about List resources knowing which users it belongs to
11 replies