Open hcavanaugh opened 10 months ago
Update: Recurring events in the event
query are not returning any node content in eventCategories either. TEC REST API using the recurring event instance ID is returning event categories as expected. @kidunot89 I'm sure if you are still active on this project. This bug prevents us from using WPGraphQL not only for events
queries, but event
now as well.
I have the same issue. Any update? Would love to use eventsCategories but nothing is returned.
Tested with: The Events Calendar 6.2.2.1, 6.2.3+ The Events Calendar Pro 6.2.4 QL Events 0.3.1
Since TEC 6.2.3, the databaseIds returned when performing an
events
query does not match the post ID. As a result, the eventsCategories nodes are returning empty, even though there are categories associated with those posts.Here is the query results sample when running
events(where: {startsAfter: "now", status: PUBLISH} first: 50)
in 6.2.2.1:Versus since 6.2.3:
This event sample is a single event, not recurring or part of a series. The issue is that we can't use TEC below 6.2.3, as that fixes the lodash error that occurs since WP 6.4. So we are in a stalemate on querying events until this is fixed.