Skip to content

Conversation

SyliusBot
Copy link

This PR has been generated automatically.
For more details see upmerge_pr.yaml.

Remember! The upmerge should always be merged with using Merge pull request button.

In case of conflicts, please resolve them manually with usign the following commands:

git fetch upstream
gh pr checkout <this-pr-number>
git merge upstream/1.14 -m "Resolve conflicts between 1.13 and 1.14"

If you use other name for the upstream remote, please replace upstream with the name of your remote pointing to the Sylius/SyliusResourceBundle repository.

Once the conflicts are resolved, please run git merge --continue and push the changes to this PR.

loic425 and others added 5 commits September 23, 2025 17:40
| Q               | A
| --------------- | -----
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT
…use CreatePaginatorTrait (#1063)

| Q               | A
| --------------- | -----
| Bug fix?        | yes (better error message)
| New feature?    |
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT

When using the "make:entity", a repository is created automatically, and
normally it can be used directly with the new routing system without
implementing the Sylius repository interface.
But here, in a collection operation, we define this createPaginator by
default.

So here, first, the idea is to be more precise on what's happening when
the default method and suggest using CreatePaginatorTrait.

That's another point, but we should also warn (or just fix it) about a
non-grid object on the BootstrapAdminUi grid template.

Before
<img width="1067" height="482" alt="image"
src="https://github.com/user-attachments/assets/fc0c2dbf-2ad9-4d87-a517-ba1d91ecb5e1"
/>

After
<img width="1067" height="482" alt="image"
src="https://github.com/user-attachments/assets/0dbff1ef-d1d2-411b-8f7a-ef1a132481f1"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants