You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem:
I wonder if there's a way to exclude properties not included in the specified group when using plainToClass, not just make it undefined. In this case, I want the inst to be only { prop1: 'prop1' } instead of { prop1: 'prop1', prop2: undefined }
The text was updated successfully, but these errors were encountered:
I was trying to...
The problem:
I wonder if there's a way to exclude properties not included in the specified group when using plainToClass, not just make it
undefined
. In this case, I want theinst
to be only{ prop1: 'prop1' }
instead of{ prop1: 'prop1', prop2: undefined }
The text was updated successfully, but these errors were encountered: