when using ash typescript and rpc, not able to load other relations
Not able to load other relations like suppose we have two entities customers and users, where users consists of customers, I am not able to load cusstomers as part of users when using rpc
1 Reply
Hi madhu, AshTypescript maintainer here!
Currently I would recommend using the ash_typescript's main branch as a dependency in your project, it has a lot of improvements compared to the latest official release, including lots of DX niceties that warn about missing configs etc.
There's just a few more small things I'd like to get sorted out before I make a new release, but the main branch can be considered safe to use at this point 😄
In your mix.exs deps, use
{:ash_typescript, git: "https://github.com/ash-project/ash_typescript"} and the new checks & warnings should hopefully guide you to getting things set up as you want, there is also a lot more details in the README.md for advanced usage 😎