Skip to content

Commit

Permalink
added a note about the default rootAlias to extensions.md (#1955)
Browse files Browse the repository at this point in the history
  • Loading branch information
smatyas committed Jul 2, 2024
1 parent 5e46cbf commit 71c5820
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ final readonly class CurrentUserExtension implements QueryCollectionExtensionInt

```

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.

Finally, if you're not using the autoconfiguration, you have to register the custom extension with either of those tags:

```yaml
Expand Down

0 comments on commit 71c5820

Please sign in to comment.