How to fake simple number with a static prefix?
dguay opened this issue · 0 comments
dguay commented
What would be the best way to generate random number but with a certain prefix?
Example: I want to generate id with "P" prefix like "P123", "P4123", etc...
Is there a clever way to do this?
I'd think something could have worked:
id:String! @fake(type: number, options: {prefix: "P"})