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
Your method of deprecation whilst moving generators out into namespaces is causing breaking changes when using methods like unique
To Reproduce
name=Faker::Dog.unique.name# NoMethodError:# undefined method `unique' for Faker::Dog:Class
Expected behavior
A deprecation notice is raised, no errors:
name=Faker::Dog.unique.name# NOTE: Faker::Dog.unique.name is deprecated; use Faker::Creature::Dog.unique.name instead. It will be removed on or after 2019-01-01.
Additional context
Because you've moved these classes into modules, you're no longer inheriting from Base.
The text was updated successfully, but these errors were encountered:
Describe the bug
Your method of deprecation whilst moving generators out into namespaces is causing breaking changes when using methods like
unique
To Reproduce
Expected behavior
A deprecation notice is raised, no errors:
Additional context
Because you've moved these classes into modules, you're no longer inheriting from
Base
.The text was updated successfully, but these errors were encountered: