AE
Ash Elixir•4d ago
charley

Specify graphql interface

Is there a way to specify that the generated graphql object type for a resource implements a graphql interface?
5 Replies
ZachDaniel
ZachDaniel•4d ago
No, but we could add it, or you could define the type yourself.
charley
charleyOP•4d ago
Ah got it. Unfortunately for my use case it would defeat the purpose if I had to manually define the type
ZachDaniel
ZachDaniel•4d ago
Yeah I feel that It would probably be quite easy to add Assuming you're defining the interface yourself
charley
charleyOP•4d ago
Yep I can see that, I can make a PR if you'd like
ZachDaniel
ZachDaniel•4d ago
That would be wonderful 🔥🔥

Did you find this page helpful?