Open ThinkGraphical opened 3 years ago
@ThinkGraphical I have not tested with GraphQL.
But the problem seems that 'views' is a model (object), not a number. I think you should query something like views.today, views.total, views.thisMonth, views.thisWeek (but don't know the exact graphql syntax to get properties from objects)
When I try accessing the Views Work field through GraphQL in the following way:
I get the following message:
Is Views Work not supporting GraphQL or am I missing something? If not: is this added any time soon? Or tips on how to implement it ourselves? Same for the 'orderByPopular',... twig helpers in the GraphQL query.