Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose fetchDataSource #346

Open
lmeysel opened this issue Oct 7, 2024 · 0 comments
Open

Expose fetchDataSource #346

lmeysel opened this issue Oct 7, 2024 · 0 comments

Comments

@lmeysel
Copy link

lmeysel commented Oct 7, 2024

When working with factories, it would be nice to have the fetchDataSource() to be exposed to be used in factories. This makes sense, as we probably want to use seeders with factories in a dev enviornment as well as for testing. There the datasources may differ. And as we do store them "globally" we could use this mechanism to easily get the right datasource for whatever enviornment the factory is running in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant