Closed hanneswernery closed 4 years ago
Danger run resulted in 1 warning; to find out more, see the checks page.
Generated by :no_entry_sign: dangerJS
This seems to be an issue with our dev server setup, not the Shopware code itself.
(e.g. it is working in Showpare's dev server setup or our demo shop).
1. Why is this change necessary?
When using the sw-inheritance header field in API requests an error is thrown, because the inheritance field is not allowed:
2. What does this change do, exactly?
This PR fixes this by allowing the sw-inheritance field in requests headers.
3. Describe each step to reproduce the issue or behaviour.
The inheritance header is currently used in the
sw-cms-el-config-product-box
component: https://github.com/shopware/platform/blob/5c989b45b64c23d368f769bab906f4d26541e2d5/src/Administration/Resources/app/administration/src/module/sw-cms/elements/product-box/config/index.js#L21-L26 When using it and searching for products, the error is returned from the server.4. Please link to the relevant issues (if any).
5. Checklist