Interface FieldResolver
- All Known Implementing Classes:
CachedDTOAwareFieldResolver,DTOAwareFieldResolver,EntityAwareFieldResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy for resolving API-facing selector paths into concrete entity paths.
Implementations encapsulate the path-resolution rules for a particular query contract, such as direct entity-field access or DTO-to-entity mapping. Resolution returns both the resolved entity path and the reflected terminal field so callers can apply validation policies after path resolution.
-
Method Summary
Modifier and TypeMethodDescriptionresolvePath(@NonNull String path) Resolves the supplied selector path.
-
Method Details
-
resolvePath
Resolves the supplied selector path.- Parameters:
path- selector path from the incoming request- Returns:
- resolution result containing the entity-backed path and terminal field
-