Serialises the result of a cache-tag selector callback into a CacheTagDefinition that can be stored on endpoint metadata and forwarded to the client middleware.
Each value in descriptors must be a PropertyDescriptor — its getValue closure is wrapped in a CacheTagPropertyAccessor.
descriptors
getValue
If any value is not a valid property descriptor.
Serialises the result of a cache-tag selector callback into a CacheTagDefinition that can be stored on endpoint metadata and forwarded to the client middleware.
Each value in
descriptorsmust be a PropertyDescriptor — itsgetValueclosure is wrapped in a CacheTagPropertyAccessor.