I am sure I am not the only person to have this idea.
GraphQL is a composeable language for interacting with APIs.
Why not then write GraphQL mutations & queries in something that resembles Elixir / Ecto / Linq / etc…
Perhaps someone has already done it?