Creates a new SchemaReflector
The metadata registry to use (if not provided, a new one will be created)
The validation engine to use (if not provided, the default one will be used)
Automatically detect and register relationships from property types This method would be used to enhance the reflection capabilities in the future
The entity class to analyze
Infer relationship type based on property type This method can be used to automatically determine relationship types based on TypeScript's metadata when using TypeScript with emitDecoratorMetadata
The target object (prototype)
The property name
The inferred relationship type or undefined if it cannot be determined
Validates an entity using the new ValidationEngine This method uses all validation decorators (@Min, @Max, @Email, etc.)
Validates a specific property of an entity
SchemaReflector provides utilities for inspecting and validating schema metadata from entity classes.