Is it possible to get an array with the events of the contract

Besides storing the event data as entities I want to have some way to get n amount of events in order.
I thought about creating an entity

type Events {
events: [Event]

but it seems like a dirty solution.

Does anyone know if there is a way to accomplish this?


Its certainly possible to do that, but having very large arrays like this is not a good practice, you can still create this by pushing to this array each time a eventHandler is run