MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / invalidPropertyName

Method invalidPropertyName

packages/core/src/errors.ts:85–87  ·  view source on GitHub ↗
(entityName: EntityName, invalid: string)

Source from the content-addressed store, hash-verified

83 }
84
85 static invalidPropertyName(entityName: EntityName, invalid: string): ValidationError {
86 return new ValidationError(`Entity '${Utils.className(entityName)}' does not have property '${invalid}'`);
87 }
88
89 static invalidCollectionValues(entityName: string, propName: string, invalid: unknown): ValidationError {
90 return new ValidationError(

Callers 2

preparePopulateMethod · 0.80
populateMethod · 0.80

Calls 1

classNameMethod · 0.80

Tested by

no test coverage detected