Should use `in` for optional fields check
https://rescript-lang.org/try?version=v12.0.0-alpha.9&module=esmodule&code=C4TwDgpgBAhlC8UDeAzA9mg-ALigVwDsBLYAXwChyAbCYKdNBWBAPnKigGcB3EgYwAWzJOygAfZA1wB9UqygBGUROnyATKIpA
Here's the first part https://github.com/rescript-lang/rescript/pull/7342
https://github.com/rescript-lang/rescript/pull/7342#issuecomment-2732403931
@DZakh Can we close this issue? or do you want to open this for further record enhancement too?
No, the issue is not solved yet. It requires the record changes we talked about.
But that doesn't relate to in operator, right? Can you change the issue description or separate it?