Skip to content

Update so that generate is called passing the record in#23

Open
phuibonhoa wants to merge 2 commits intoequivalent:masterfrom
phuibonhoa:ph/block_generator
Open

Update so that generate is called passing the record in#23
phuibonhoa wants to merge 2 commits intoequivalent:masterfrom
phuibonhoa:ph/block_generator

Conversation

@phuibonhoa
Copy link

This is a breaking change on NumberRandom which previously took a positional argument for the randomizer.

Passing the record allows for more dynamic generators to base some part of the uid off the record. Ex. you may have a record that stores information on different media types. You could have a generator that produced ids like: "AUDIO-1HA348" and "VIDEO-7FOA72".

This is a breaking change on NumberRandom which previously took a positional argument for the randomizer.

Passing the record allows for more dynamic generators to base some part of the uid off the record.  Ex. you may have a record that stores information on different media types.  You could have a generator that produced ids like: "AUDIO-1HA348" and "VIDEO-7FOA72".
@equivalent
Copy link
Owner

Thank you for this @phuibonhoa .

Several changes in this PR. I need to think about them and test them 🤔.

I won't be able to address this PR in near future (I have some personal & professional circumstances I need to resolve) Please give me few weeks to look at your proposed changes.

@phuibonhoa
Copy link
Author

Thank you for this @phuibonhoa .

Several changes in this PR. I need to think about them and test them 🤔.

I won't be able to address this PR in near future (I have some personal & professional circumstances I need to resolve) Please give me few weeks to look at your proposed changes.

Understood, thanks for the update, much appreciated!

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

Successfully merging this pull request may close these issues.

2 participants