michaljanocko
AEAsh Elixir
•Created by michaljanocko on 8/28/2023 in #support
Postgres reference with non-"id" primary keys
Hey, I have these two resources:
And I'm getting this compile error:
I would appreciate any help on or pointers to how to fix this and tell Ash that my primary reference is indeed not
:id
but :code
.
Thanks, Michal5 replies
AEAsh Elixir
•Created by michaljanocko on 2/3/2023 in #support
Relations with GraphQL
I want to make a simple
belongs_to
relationship. I tried so many things but I can almost never even compile it. :/ I'm not looking to debug anything, I just can't get it from the documentation. I even tried searching for :ash_graphql
usages in the wild with GitHub Code Search. How do I wire this up with GraphQL?8 replies