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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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