Improve deprecation message for faker.image.abstract() etc #2019
Labels
c: chore
PR that doesn't affect the runtime behavior
c: docs
Improvements or additions to documentation
needs documentation
Documentations are needed
p: 1-normal
Nothing urgent
s: accepted
Accepted feature / Confirmed bug
Milestone
The deprecation message for
faker.image.abstract()
etc points tofaker.image.url()
which doesn't support a category.Originally posted by @matthewmayer in #2014 (comment)
Maybe we should change that to point to faker.image.urlLoremFlickr({category:"abstract"}) instead then, since only this provider supports categories?
Alternatively faker.image.url() could be modified to accept a category parameter (in which case it would always use LoremFlickr instead of Picsum or LoremFlickr alternately)
The text was updated successfully, but these errors were encountered: