TheSpyder/rescript-webapi

Convert options objects to records with optional fields

Offen

#103 geöffnet am 05.07.2022

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)ReScript (38 Forks)github user discovery
good first issuehelp wanted

Repository-Metriken

Stars
 (159 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide