API Reference

PropertyOwnerResolver

Resolves property and field identifiers. Returns the context object if it has the given property, or if the context is a Date and the identifier is a known date property.

Description

First resolver in the default IIdentifierOwnerResolverList. Uses Type.hasProperty(context, index) to check if the identifier is a property or field of the context object. Also handles Date instances by checking against the known date-property set (dataProperties from @rs-x/core).

Returns the context object on match, or null to pass to the next resolver.