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

Add faker data properties #42

Merged
merged 2 commits into from
Feb 28, 2023
Merged

Add faker data properties #42

merged 2 commits into from
Feb 28, 2023

Conversation

bobbyiliev
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • ♻️ Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 👷 Optimization
  • 📝 Documentation Update
  • 🚩 Other

Description

Adding an option to allow users to specify the faker properties options, eg:

faker.datatype.number(options: number | {
  max: number,
  min: number,
  precision: number
} = 99999): number

There are some edge cases like dates, where this still needs to be improved, but it should cover what's mentioned in #39

Related Tickets & Documents

Closes #39

Added to documentation?

  • 📜 readme
  • 🙅 no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

Copy link
Collaborator

@chuck-alt-delete chuck-alt-delete left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is working for me!

@bobbyiliev bobbyiliev merged commit 2923e4a into main Feb 28, 2023
@bobbyiliev bobbyiliev deleted the faker-properties branch February 28, 2023 18:14
recursethis pushed a commit to recursethis/materialize-datagen that referenced this pull request Feb 26, 2024
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.

Feature: More control over keyspace size
2 participants