TheSpyder/rescript-webapi

Convert options objects to records with optional fields

Ouverte

#103 ouverte le 5 juil. 2022

 (1 commentaire) (0 réaction) (0 personne assignée)ReScript (38 forks)github user discovery
good first issuehelp wanted

Métriques du dépôt

Stars
 (159 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur