typeorm
Version:
Data-Mapper ORM for TypeScript and ES2021+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
17 lines (15 loc) • 621 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.CircularRelationsError = void 0;
const TypeORMError_1 = require("./TypeORMError");
/**
* Thrown when circular relations detected with nullable set to false.
*/
class CircularRelationsError extends TypeORMError_1.TypeORMError {
constructor(path) {
super(`Circular relations detected: ${path}. To resolve this issue you need to ` +
`set nullable: true somewhere in this dependency structure.`);
}
}
exports.CircularRelationsError = CircularRelationsError;
//# sourceMappingURL=CircularRelationsError.js.map
;