Skip to content

Is there a way to feed random property of Record? #3641

Answered by dubzzz
GuillaumeUnice asked this question in Q&A
Discussion options

You must be logged in to vote

You can use an fc.tuple or fc.record to generate a, b and c and then use a .chain returning a, b, c and the new value.

In one of the upcoming releases, I'll add another util that should help users into drafting code with such patterns.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dubzzz
Comment options

@GuillaumeUnice
Comment options

Answer selected by GuillaumeUnice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants