Breeze / breeze-client

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

Undefined should be null - oldValue in default-property-interceptor.ts #69

Closed pierre-des closed 1 year ago

pierre-des commented 2 years ago

I found a scenario where oldValue===newValue is evaluated to false (null===undefined evaluates to false) where it should not. This happen when the entity returned by the server has a null navigation properties for a property defined on an abstract parent class.

steveschmitt commented 1 year ago

I've updated Breeze in version 2.1.4 to address this issue. I used slightly different code, so I didn't merge this PR.

Thanks for your work on this.