-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract sylius/admin-api-bundle out of Sylius Core (but keep it installed by default in existing minor releases) #12469
Conversation
It almost works, but it requires adding If not added, resolving dependencies fails with the following message:
I'm looking for ideas to make it work by default without having to add this env variable; it hurts DX a lot. |
Changing branch names helps, renaming |
Two more potential fixes:
|
I guess I'll go with explicitly setting version in composer.json, we already do that in |
a40674c
to
5c2ba7b
Compare
c0b5253
to
856a0f4
Compare
When upmerging, make sure all AdminApiBundle files are removed and the required version is bumped to The most important thing - make sure versions in |
Things have changed A LOT since that review
@@ -137,4 +137,35 @@ function (Options $options, $previousValue) use ($repository, $field, $criteria) | |||
} | |||
; | |||
} | |||
|
|||
public static function getOneBy(RepositoryInterface $repository, string $field, array $criteria = []): \Closure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is it used?
…llation (pamil) This PR was merged into the 1.10-dev branch. Discussion ---------- See #12469. `UPGRADE` instructions missing, I'll do them once we get this merged while customising Sylius-Standard to those changes. Commits ------- 5f3d5a8 Remove AdminApiBundle from default Sylius installation b53c6bc Replace incorrect typehints referencing AdminApiBundle dbf8934 Fix serialization in AJAX after removal of AdminApiBundle d54ab36 Load CoreBundle's serializer config only if AdminApiBundle is not loaded
Why?
sylius/admin-api-bundle
are blocking Sylius from upgrading to PHP 8.Reference: #12298