Closed rsat closed 10 months ago
Hi Ricardo!
You're right - the format has not been updated when we added the inheritFilters toggle in v2. If you are willing to make a PR then that would be very welcome!
@michaelbromley, Raised a PR for this: https://github.com/vendure-ecommerce/vendure/pull/2534
@bhardwajakshit thanks for the fix!
Describe the bug
When importing data or populating there is no option to set inheritFilters to false. Probably this was kept from before the inheritFilters was introduced
https://github.com/vendure-ecommerce/vendure/blob/218561f04cbaf738c0f18302b67b1b077a056a7f/packages/core/src/data-import/types.ts#L23-L33
https://github.com/vendure-ecommerce/vendure/blob/218561f04cbaf738c0f18302b67b1b077a056a7f/packages/core/src/data-import/providers/populator/populator.ts#L137-L152
To Reproduce Steps to reproduce the behavior:
Expected behavior
Imported Collections should keep setting inheritFilters to true by default but should be able to set as false if desired.
Environment (please complete the following information):
Additional context Could create the pull request with the fix for approval