(segment: string)
| 444 | |
| 445 | export class UnsafeAliasPathError extends QueryCompilationError { |
| 446 | constructor(segment: string) { |
| 447 | super( |
| 448 | `Unsafe alias path segment "${segment}" is not allowed in .select(). ` + |
| 449 | `Aliases must not contain "__proto__", "prototype", or "constructor".`, |
| 450 | ) |
| 451 | this.name = `UnsafeAliasPathError` |
| 452 | } |
| 453 | } |
| 454 | |
| 455 | export class DistinctRequiresSelectError extends QueryCompilationError { |
nothing calls this directly
no outgoing calls
no test coverage detected