src/define_polymorphic_constraint_plugin.ts
Function definePolymorphicCustom
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
export const definePolymorphicCustom = (builder: SchemaBuilder, options: Options) => {
// First add an inflector for polymorphic backrelation type name
builder.hook('inflection', inflection => ({
...inflection,
filterManyPolyType(table: PgClass, foreignTable: PgClass) {