faker icon indicating copy to clipboard operation
faker copied to clipboard

Add scope to unique

Open bradleesand opened this issue 2 years ago • 1 comments

Issue#

No-Story

Description:

Adds an optional scope parameter to the unique method. This can be useful if you are using the same generator for multiple unique scope and don't want to run out of unique values. (Like, if you're using Pokemon names in every factory and running out of names.)

bradleesand avatar Mar 21 '22 21:03 bradleesand

Heyo @bradleesand, are you still interested in working on this PR? Thanks!

Zeragamba avatar Aug 30 '22 12:08 Zeragamba

Closing PR for now due to being almost a month stale. Feel free to comment if you're still planing on working on this and we'll reopen it.

Zeragamba avatar Sep 23 '22 13:09 Zeragamba

I'm no longer working in Ruby on the daily but I'd be happy to finish it up because this change was really useful to me in my old job.

bradleesand avatar Jan 30 '23 18:01 bradleesand