dotnet-websharper / core

WebSharper - Full-stack, functional, reactive web apps and microservices in F# and C#
https://websharper.com
Apache License 2.0
593 stars 52 forks source link

Make sure comparison operators treated properly on proxied types #1314

Closed Jooseppi12 closed 1 year ago

Jooseppi12 commented 1 year ago

Currently even if the necessary op* functions are defined, they are translated to Unchecked.compare. We are changing this logic, so that if the needed op* function is proxied, we are using that and only treating Unchecked.compare as a fallback method