Closed bbtgnn closed 1 month ago
CollectionManager prop inverseExpand has been removed.
CollectionManager
inverseExpand
Now all possible relations are available in the expand prop:
expand
CollectionManager prop subscribe has changed type export let subscribe: 'off' | 'expand-collections' | CollectionName[] = 'expand-collections'
CollectionManager prop subscribe has changed type
subscribe
export let subscribe: 'off' | 'expand-collections' | CollectionName[] = 'expand-collections'
expand-collections
CollectionName[]
off
NOTE By default, the collection manager subscribes to the main collection and the authorizations collection
Codegen has been improved
Changelog
1 - Breaking change
Now all possible relations are available in the
expand
prop:2 - Change
expand-collections
by default, the collection manager subscribes for updates to the main collection and the collections in the fieldexpand
.CollectionName[]
For more control it's possible to pass an array of collection names,off
simply turn off subscriptionsNOTE By default, the collection manager subscribes to the main collection and the authorizations collection
3 - Refactoring