Closed ilteoood closed 1 year ago
Hi @mcollina, You are right: the purpose of this is just to define a different decorator name if the user wants to use this plugin with Dragonfly instead of Redis. My idea behind this is just to improve the DX and avoid the user to type fastify.redis when he's not using Redis, but Dragonfly.
@ilteoood This seems to complicate the codebase for questionable benefits. I'm -1 on it.
Ok then, at least I tried. Thank you everyone for your time, feel free to close both the PR and the issue then
Resolves #184
Checklist
npm run test
andnpm run benchmark