Skip to content

Commit 71c5820

Browse files
authored
added a note about the default rootAlias to extensions.md (#1955)
1 parent 5e46cbf commit 71c5820

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/extensions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ final readonly class CurrentUserExtension implements QueryCollectionExtensionInt
9898

9999
```
100100

101+
Note that the default `rootAlias` is "o" in the bundled `ItemProvider` and `CollectionProvider`, so you should use different aliases for your custom joins in your extension.
102+
101103
Finally, if you're not using the autoconfiguration, you have to register the custom extension with either of those tags:
102104

103105
```yaml

0 commit comments

Comments
 (0)