• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

typeorm / typeorm / 19549987525

20 Nov 2025 08:11PM UTC coverage: 80.769% (+4.3%) from 76.433%
19549987525

push

github

web-flow
ci: run tests on commits to master and next (#11783)

Co-authored-by: Oleg "OSA413" Sokolov <OSA413@users.noreply.github.com>

26500 of 32174 branches covered (82.36%)

Branch coverage included in aggregate %.

91252 of 113615 relevant lines covered (80.32%)

88980.79 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

35.0
/src/error/MissingJoinColumnError.ts
1
import { EntityMetadata } from "../metadata/EntityMetadata"
26✔
2
import { RelationMetadata } from "../metadata/RelationMetadata"
26✔
3
import { TypeORMError } from "./TypeORMError"
26✔
4

26✔
5
export class MissingJoinColumnError extends TypeORMError {
26✔
6
    constructor(entityMetadata: EntityMetadata, relation: RelationMetadata) {
26✔
7
        super()
×
8

×
9
        if (relation.inverseRelation) {
×
10
            this.message =
×
11
                `JoinColumn is missing on both sides of ${entityMetadata.name}#${relation.propertyName} and ` +
×
12
                `${relation.inverseEntityMetadata.name}#${relation.inverseRelation.propertyName} one-to-one relationship. ` +
×
13
                `You need to put JoinColumn decorator on one of the sides.`
×
14
        } else {
×
15
            this.message =
×
16
                `JoinColumn is missing on ${entityMetadata.name}#${relation.propertyName} one-to-one relationship. ` +
×
17
                `You need to put JoinColumn decorator on it.`
×
18
        }
×
19
    }
×
20
}
26✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc