System Information
- Strapi Version: 4.5.4
Hello,
we are using Strapi GraphQL mutation query (that we send from our front-end) to add new entry in our collection type. We also use the lifecycle afterCreate
event in Strapi to send e-mail when new entry is added. All the data we send to Strapi appears correctly in the event.result
object in afterCreate
, except for data that is defined in Strapi as Component (repeteable).
In Strapi admin, the data for this field (Component) appears correctly, but they are not in the event.result
object. The data in event.result
object is only present when we create a new entry directly in the Strapi admin.
Any solution so that we have all the entry data (including those from repeatable Components) in afterCreate
event.result
object?
Thank you!