Calculatated fields and AshGraphQL

How can I query calculated fields in when graphql . the fields are virtual they don't exist as attributes. ?
2 Replies
ZachDaniel
ZachDaniel2y ago
public calculations show up as available fields in the graphql just like attributes/relationships. It should be queryable automatically
edwinofdawn
edwinofdawnOP2y ago
It works thanks, I had copied some code marking them as private, my bad

Did you find this page helpful?