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
On the production API, the slug property has a generated value that depends to the name property.
However, I have no way to reproduce that with the fake data factory, as I don't have the information on the getter, so I have to generate a random one.
Ideally, the simplest implementation way would be this:
I have a modeling like this:
On the production API, the
slug
property has a generated value that depends to thename
property.However, I have no way to reproduce that with the fake data factory, as I don't have the information on the getter, so I have to generate a random one.
Ideally, the simplest implementation way would be this:
Or maybe a way to define a custom function to process the given data on each
.create
and.update
call.What do you think?
The text was updated successfully, but these errors were encountered: