TheSpyder/rescript-webapi

Convert options objects to records with optional fields

Aperta

#103 aperta il 5 lug 2022

 (1 commento) (0 reazioni) (0 assegnatari)ReScript (38 fork)github user discovery
good first issuehelp wanted

Metriche repository

Star
 (159 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

There's a new feature in ReScript v10 (which hit alpha today) that means we no longer need annoying functions to implement "option object" apis. I'll update this description with examples when I have time.

We don't use this style in webapi as much as some other bindings, but we should still switch to this during the version 2 efforts.

Guida contributor