Replaces all properties defined with "exclude: true" (or a function returning true) with non-enumerable getters, based on a pre-built ExcludeDescriptor.
The entity instance to process.
The entity class to get the exclude properties from.
Replaces all properties defined with "exclude: true" (or a function returning true) with non-enumerable getters, based on a pre-built ExcludeDescriptor.