vendure
vendure copied to clipboard
Update Collection ParentId
Describe the bug
When updating a Collection using the UpdateCollection
mutation, the value for parentId
is ignored.
To Reproduce Steps to reproduce the behavior:
- Create 2 collections with parent = root (= collections 1 and 2)
- Create collection 3 with parent = 1
- Update collection 3 with
mutation {
updateCollection(input: {
id: 3
parentId: 2
}) {
id
parent { id }
}
}
- Observe parentId will still be 1
Expected behavior ParentId should be updated when updating collection
Environment (please complete the following information):
- @vendure/core version: 1.7.1