Breeze / breeze-client

Breeze for JavaScript clients
MIT License
38 stars 16 forks source link

Mixing null and undefined in default-property-interceptor.ts #67

Closed pierre-des closed 2 years ago

pierre-des commented 2 years ago

Having issue with undefined navigation properties undefined on parent class. When the old value is also undefined it should just exit the function. But it is not because newValue (null) === oldValue (undefined) evaluate to false. Adding line 15 fixes the issue. But removing line 13 would also work.