You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A strange one: when I enable Star Rating's GraphQL (I really need to grab an entry's total votes via GQL), it has the strange effect of duplicating the number of times an entry is shown on a section that has star ratings enabled by a factor of 4.
Without GraphQL enabled:
With GraphQL enabled:
Any ideas why that would be?
The text was updated successfully, but these errors were encountered:
Interesting, that's not ideal. I may have seen that issue before, which is part of why GraphQL support is still in beta.
In order for the GraphQL stuff to work, Star Ratings gets involved in Craft's element query on a very deep level. It's a very heavy-handed way to get the GraphQL stuff to behave as necessary. I don't love the implementation, but it's the best we could do at the time.
In the long-term, I'll fix it before GraphQL support graduates from beta. I'm not sure exactly when that will be, but it probably won't be anytime soon. My apologies, we have a handful of higher priorities at this moment.
In the short-term, could you potentially disable the GraphQL support while you make content changes?
@lindseydiloreto if it were my own project I'd be happy to disable it while making changes but I wouldn't be able to get my client to do that. Can you think of any way I could get around it... do you think I could use a preparse field somehow to calculate on save? Just means I'll have to periodically resave the entries.
A strange one: when I enable Star Rating's GraphQL (I really need to grab an entry's total votes via GQL), it has the strange effect of duplicating the number of times an entry is shown on a section that has star ratings enabled by a factor of 4.
Without GraphQL enabled:
With GraphQL enabled:
Any ideas why that would be?
The text was updated successfully, but these errors were encountered: