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

Change Refabricator.between to only take fabricators #27

Open
woeps opened this issue Feb 24, 2020 · 0 comments
Open

Change Refabricator.between to only take fabricators #27

woeps opened this issue Feb 24, 2020 · 0 comments
Labels
enhancement New feature or request library issues regarding the library Refabricator

Comments

@woeps
Copy link
Owner

woeps commented Feb 24, 2020

Refabricator.between should be changed to only take fabrics as it's arguments.
This enables to not just use static strings for before and after arguments, but any data which can be generated by a fabricator.

Resulting type:

type betweenOps = {before: Types.fabric, after: Types.fabric};
let between: Types.refabricator(betweenOps);

Also relevant: #28

@woeps woeps added enhancement New feature or request library issues regarding the library Refabricator labels Feb 24, 2020
@woeps woeps added this to the Proof of concept milestone Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request library issues regarding the library Refabricator
Projects
None yet
Development

No branches or pull requests

1 participant