hansololai/postgraphile-index-to-unique-constraint-plugin

View on GitHub

Showing 1 of 2 total issues

Function addFakeUniqueConstraintFromIndex has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const addFakeUniqueConstraintFromIndex = (builder: SchemaBuilder, options: Options) => {
  builder.hook('build', (build) => {
    const {
      pgIntrospectionResultsByKind: {
        index,
Severity: Minor
Found in src/add_fake_constraint_from_index_plugin.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language