mercurius-js / mercurius

Implement GraphQL servers and gateways with Fastify
https://mercurius.dev/
MIT License
2.34k stars 234 forks source link

refactor: removed events.on and use native api #922

Closed marco-ippolito closed 1 year ago

marco-ippolito commented 1 year ago

from issue https://github.com/mercurius-js/mercurius/issues/725. events.on is native on node since added in: v13.6.0, v12.16.0 so I think there is no reason to keep this polyfill for 10.x

marco-ippolito commented 1 year ago

@simoneb

simoneb commented 1 year ago

@mcollina I'm going to merge this without further approvals as it's a fairly straightforward change