mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
It's a best practice to add HTTP API clients to the `context`. Standard Apollo GraphQL tutorial has an example: https://www.apollographql.com/docs/apollo-server/data/context#resolvers Also database drivers, loggers, message queues or process environment defined configuration should go into the `context`, just like HTTP-clients.