cobraz/pubsub-http-handler

View on GitHub
src/fastify-plugin.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

    There are no issues that match your filters.

    Category
    Status