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

Full name option #47

Open
ryanMeredith opened this issue Feb 4, 2020 · 1 comment
Open

Full name option #47

ryanMeredith opened this issue Feb 4, 2020 · 1 comment

Comments

@ryanMeredith
Copy link

currently I am using first name and last name

"customers_firstname": {
"type": "firstname",
"action": "update"
},
"customers_lastname": {
"type": "lastname",
"action": "update"
},
sometimes we store full name

is it possible to concatenate fields?

  "customers_fullname": {
    "type": "firstname lastname",
    "action": "update"
  }
@up-n-running
Copy link

I have implemented this, along with a load more actions including md5 hashing to obfuscate primary key columns, a 'tweak' action to multiply financial information by a random number between 0.5 and 2.0, and a choose_one_of action similar to set_static but with more options. Also bug fixes as it no longer works out of the box with faker 2.
How do I go about submitting my changes into the master repo (newbie github question i know, sorry)
Also happy to flesh out the documentation a bit because getting it working in the first place was a bit stressful

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

No branches or pull requests

2 participants