hansololai/postgraphile-polymorphic-relation-plugin

View on GitHub
src/define_model_to_table_map_plugin.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Function addModelTableMappingPlugin has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

export const addModelTableMappingPlugin = (builder: SchemaBuilder, options: Options) => {
  const { pgSchemas = [] } = options as any;
  builder.hook('build', (build) => {
    const {
      inflection,
Severity: Minor
Found in src/define_model_to_table_map_plugin.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status