Tags:
- Action Required
- Admin GraphQL API
- Admin REST API
- 2024-10
Querying events through the events connection and CommentEvent.subject becomes nullable
events connection and CommentEvent.subject becomes nullableAs of 2024-10, you can query events by means of , event and events.
There has been the addition of an events connection on several types as well, allowing you to query the related events:
There has been one breaking change on the field where we transitioned it to be nullable, null will be returned when the subject's underlying data has been deleted, in the process we also deprected as these are now returned as an Event. When the subject is deleted, the REST API, will also return null for the subject property.
Was this section helpful?