Skip to content
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

[Form] Task object instead of id as param #18156

Merged
merged 1 commit into from
Apr 3, 2023

Conversation

hbgamra
Copy link
Contributor

@hbgamra hbgamra commented Apr 1, 2023

Thanks to Paramconverter we can get Task object directly instead of putting the $id and we can throw automatically an exception if the task was not found

@carsonbot carsonbot added this to the 6.3 milestone Apr 1, 2023
@hbgamra hbgamra changed the base branch from 6.3 to 5.4 April 1, 2023 23:57
@hbgamra hbgamra requested a review from xabbuh as a code owner April 1, 2023 23:57
@javiereguiluz
Copy link
Member

There was a problem when creating this PR. If you can't fix this easily, it's OK to close this and create a new PR with only your commit. Thanks.

@OskarStark OskarStark changed the base branch from 5.4 to 6.3 April 3, 2023 13:50
@OskarStark OskarStark modified the milestones: 6.3, 5.4 Apr 3, 2023
@OskarStark
Copy link
Contributor

I switched it back to 6.3 and set 5.4 as milestone.

Thanks to paramconverter we can get Task object  directly instea of putting the ID and w can throw automaically an exception if it's not found
@javiereguiluz
Copy link
Member

Thanks! Merged in 5.4 and up

@javiereguiluz javiereguiluz merged commit 14ee636 into symfony:5.4 Apr 3, 2023
@carsonbot carsonbot changed the title Task object instead of id as param [Form] Task object instead of id as param Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants