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
This current implementation works for simple intersections of objects, but not nested objects. It basically removes all properties of nested objects except those defined in the last member of the intersection.
To rectify this, it should do a 'deep' intersection of nested properties first, and then delegate to object sanitisation.
The text was updated successfully, but these errors were encountered:
Source code in question: https://github.com/yortus/rtti/blob/main/src/operations/sanitize.ts#L30-L40
This current implementation works for simple intersections of objects, but not nested objects. It basically removes all properties of nested objects except those defined in the last member of the intersection.
To rectify this, it should do a 'deep' intersection of nested properties first, and then delegate to object sanitisation.
The text was updated successfully, but these errors were encountered: