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.

@FunctionalInterface public interface FieldResolver
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 Type
    Method
    Description
    resolvePath(@NonNull String path)
    Resolves the supplied selector path.
  • Method Details

    • resolvePath

      ResolutionResult resolvePath(@NonNull @NonNull String path)
      Resolves the supplied selector path.
      Parameters:
      path - selector path from the incoming request
      Returns:
      resolution result containing the entity-backed path and terminal field