Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert options objects to records with optional fields #103

Open
TheSpyder opened this issue Jul 5, 2022 · 1 comment
Open

Convert options objects to records with optional fields #103

TheSpyder opened this issue Jul 5, 2022 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@TheSpyder
Copy link
Owner

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.

@TheSpyder TheSpyder added good first issue Good for newcomers help wanted Extra attention is needed labels Jul 5, 2022
@Minnozz
Copy link
Contributor

Minnozz commented Aug 1, 2022

@TheSpyder Do you want to provide the first example(s) or are contributions already welcome?

How do you intend to handle the required bump in compiler version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants