Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1837

Switch path unexpected on optional record with optional fields

$
0
0

Ah, okay. So to accomplish what I want I’ll need to make it so the field isn’t optional, or I’ll just have to handle it the way I am now. That makes sense. I guess I didn’t expect the switch case to skip if the optional field wasn’t there. Thanks for the clarification!


Viewing all articles
Browse latest Browse all 1837

Trending Articles