cobraz/pubsub-http-handler

View on GitHub

Showing 1 of 1 total issue

Function pubSubFastifyPluginFn has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const pubSubFastifyPluginFn = async <Data, Context>(
  fastify: FastifyInstance,
  options: PubSubHandlerFastifyConfig<Data, Context>,
): Promise<void> => {
  const fastifyTypeBox = fastify.withTypeProvider<TypeBoxTypeProvider>();
Severity: Minor
Found in src/fastify-plugin.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language