{"size": 598, "ext": "js", "max_stars_repo_path": "ignite/GoBarber/primeiro-projeto-node/node_modules/typeorm/browser/error/UsingJoinTableOnlyOnOneSideAllowedError.js", "max_stars_repo_name": "rodrigowe1988/Ciandt", "max_stars_repo_stars_event_min_datetime": "2022-03-21T11:53:25.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-21T14:24:56.000Z", "max_issues_repo_path": "backend/node_modules/typeorm/browser/error/UsingJoinTableOnlyOnOneSideAllowedError.js", "max_issues_repo_name": "VitorDuarte0117/local_maps", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "backend/node_modules/typeorm/browser/error/UsingJoinTableOnlyOnOneSideAllowedError.js", "max_forks_repo_name": "VitorDuarte0117/local_maps", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 54.3636363636, "max_line_length": 153, "alphanum_fraction": 0.7491638796}
import { TypeORMError } from "./TypeORMError";
export class UsingJoinTableOnlyOnOneSideAllowedError extends TypeORMError {
    constructor(entityMetadata, relation) {
        super(`Using JoinTable is allowed only on one side of the many-to-many relationship. ` +
            `Both ${entityMetadata.name}#${relation.propertyName} and ${relation.inverseEntityMetadata.name}#${relation.inverseRelation.propertyName} ` +
            `has JoinTable decorators. Choose one of them and left JoinColumn decorator only on it.`);
    }
}

//# sourceMappingURL=UsingJoinTableOnlyOnOneSideAllowedError.js.map
