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 to object-style function parameters #7

Open
TheSpyder opened this issue Mar 30, 2022 · 0 comments
Open

Convert to object-style function parameters #7

TheSpyder opened this issue Mar 30, 2022 · 0 comments

Comments

@TheSpyder
Copy link
Owner

TheSpyder commented Mar 30, 2022

In version 2.6.0, fast-check deprecated the positional argument style of arbitrary configuration:
https://github.com/dubzzz/fast-check/blob/main/CHANGELOG.md#260

I made some inroads to this with the uniqueArray support but the object config pattern is far too unwieldy with either @obj functions or @deriving(abstract).

My plan is to wait for changes that make this easier in ReScript 10, which introduces @obj records:
https://forum.rescript-lang.org/t/rfc-more-general-type-checking-for-structural-typings/1485/51

I will then publish a 2.0 release of the bindings that requires v10 and converts everything to object configs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant