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
In TIPOFF/locations#110, it was rather helpful to create a factory state to better improve the data that a given factory could generate in addition to making it easier to browser test the creation of resources.
Referring to how tipoff packages tend to have simliar fields such as creator_id and updater_id for example, it may be beneficial to have a BaseFactory class that would extend Illuminate\Database\Eloquent\Factories\Factory. Once extended into a package model factory, definition could be called as normal but factories would then be able to have access to states visible in the BaseFactory that could be chained for use wherever needed.
The text was updated successfully, but these errors were encountered:
In TIPOFF/locations#110, it was rather helpful to create a factory state to better improve the data that a given factory could generate in addition to making it easier to browser test the creation of resources.
Referring to how tipoff packages tend to have simliar fields such as
creator_id
andupdater_id
for example, it may be beneficial to have a BaseFactory class that would extendIlluminate\Database\Eloquent\Factories\Factory
. Once extended into a package model factory,definition
could be called as normal but factories would then be able to have access to states visible in the BaseFactory that could be chained for use wherever needed.The text was updated successfully, but these errors were encountered: