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

feat(testing): Turn productsCsvPath into an optional property for test server initialization #2038

Conversation

vrosa
Copy link
Contributor

@vrosa vrosa commented Feb 14, 2023

Currently, productsCsvPath is a required field when initialising the test server, regardless whether or not the developer needs product data to begin with. An alternative is to provide a CSV with headers only and not data rows, which is not a big deal but as a matter of convenience it would be nice to skip the property entirely. This PR updates the attribute to be optional.

@michaelbromley michaelbromley merged commit 4c2b118 into vendure-ecommerce:minor Feb 14, 2023
@michaelbromley
Copy link
Member

Yep nice improvement 👍

@vrosa vrosa deleted the feat/optional-testing-products-csv-path branch February 14, 2023 22:25
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

Successfully merging this pull request may close these issues.

2 participants