Skip to content

Commit

Permalink
docs: add note about inability to update/remove parent (typeorm#5179)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruska authored and pleerock committed Dec 5, 2019
1 parent 34ef29a commit 04b4f3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/tree-entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ export class Category {
}
```

### Note:
Updating or removing a component's parent has not been implemented yet ([see this issue](https://github.com/typeorm/typeorm/issues/2032)). The closure table will need to be explicitly updated to do either of these operations.

## Working with tree entities

To make bind tree entities to each other its important to set to children entities their parent and save them,
Expand Down

0 comments on commit 04b4f3e

Please sign in to comment.