You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Meanwhile imho, it'd still be better to have an intuitive API that uses the right names for the right things. sequence is normally referred to a sequential number-embedded generator. value function is better reflecting a stateless attribute value generator.
Hi.
I am trying to use Faker with
Factory.attr
. Currently, the second argument is limited toT[K]
fromattr<K extends keyof T>(name: K, value: T[K])
.Would you please make it support
value: T[K] | () => T[K]
?The text was updated successfully, but these errors were encountered: