Skip to content

Conversation

n-valverde
Copy link
Contributor

Q A
Branch? 2.7
Tickets #5620
License MIT
Doc PR TODO

Hello, want to propose a small improvement for the api:upgrade-resource command.
I'm fine if you don't want to merge this since it's not a fix in any way, it's just something that comes very useful in our upgrade scenario, so could probably be useful for others aswell.

Why? Because when upgrading a big application, you most likely want to take small steps, i.e. not running the upgrade on 200 resources in one shot, because there is a lot of things to refactor when upgrading a resource (providers, persisters, etc...).

Usage: bin/console api:upgrade-resource Foo\\Bar\\Baz

Let me know if you agree to merge it so I can make a doc PR, thanks!

@n-valverde n-valverde force-pushed the feat/upgrade-single-api-resource branch from adfa431 to da436e1 Compare August 23, 2023 09:09
@n-valverde
Copy link
Contributor Author

Hello @soyuka , thanks for the review, all fixed, do you think a doc PR is actually required?

@soyuka
Copy link
Member

soyuka commented Aug 23, 2023

It's fine like this, red ci is because of 2.7 starting to be hard to maintain though...

@soyuka soyuka merged commit 36e95a8 into api-platform:2.7 Aug 28, 2023
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.

2 participants