Skip to content

[Serializer] Update serializer example using type hints #16876

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

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

94noni
Copy link
Contributor

@94noni 94noni commented Jun 14, 2022

Hi, small proposition to upgrade code example here in the serializer doc using type hint on object to serialize to make example more robust from the input to output

Before continuing on this page, I want to ask if it is useful or not
Thank you!

@carsonbot carsonbot added this to the 6.0 milestone Jun 14, 2022
@javiereguiluz
Copy link
Member

I like this proposal. @wouterj do you agree on adding this in 6.0 branch and up? Thanks!

@javiereguiluz
Copy link
Member

My vote is 👍 ... but please only update this article and not all docs but that would create multiple hard-to-solve merge conflicts. Thanks!

But first, let's wait to read the opinion of @xabbuh and @OskarStark. Thanks!

@wouterj
Copy link
Member

wouterj commented Oct 6, 2022

👍 for 4.4 and up. This is what we have done in most other cases and will result in the least merge difficulty.

(Javier, if you want me to take care of (up-)merging this let me know)

@carsonbot carsonbot changed the title Update serializer example using type hints [Serializer] Update serializer example using type hints Oct 26, 2022
@javiereguiluz javiereguiluz modified the milestones: 6.0, 4.4 Oct 26, 2022
@javiereguiluz javiereguiluz changed the base branch from 6.0 to 4.4 October 26, 2022 15:11
@javiereguiluz javiereguiluz requested a review from xabbuh as a code owner October 26, 2022 15:11
@javiereguiluz javiereguiluz merged commit f970630 into symfony:4.4 Oct 26, 2022
@javiereguiluz
Copy link
Member

Antoine, thanks for this improvement. Merged!

@94noni 94noni deleted the patch-11 branch October 26, 2022 16:06
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.

5 participants