Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Serializer] Add missing options context#14384

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
wouterj merged 1 commit intosymfony:4.4frommaxhelias:options-context
Jan 11, 2021

Conversation

@maxhelias
Copy link
Contributor

@maxheliasmaxhelias commentedOct 9, 2020
edited
Loading

The options are not really in the right place since just above the text indicates the elements for associative arrays.
But we only list context options for an associative array here :https://symfony.com/doc/current/components/serializer.html#context

Wouldn't we move all the options for all encoders here ?https://symfony.com/doc/current/components/serializer.html#encoders
And in the first section display only the possible options for associative array with the link to their description.

Solve#10277 and#10286

@maxhelias
Copy link
ContributorAuthor

This PR can be transformed to document the context options of each serialization format#8505 but i need feedback 😄

@javiereguiluz
Copy link
Member

@maxhelias minor comment: there's no need to create "draft PRs" because in Symfony we consider all PRs already "in draft" and "ready to review" until they are merged. In the code repository we do the same and we don't use draft PRs. Thanks!

@maxhelias
Copy link
ContributorAuthor

@javiereguiluz ok I'll change then.
I spotted that it can be linked to this issue#11786 and PR#13269

@maxheliasmaxhelias marked this pull request as ready for reviewOctober 9, 2020 15:49
@maxhelias
Copy link
ContributorAuthor

Status: Needs Work

@wouterj
Copy link
Member

Fyi, I've just merged the PR you mentioned. However, I've also opened another PR that changes this:#14521 After that, this PR should probably be rebased.

maxhelias reacted with thumbs up emoji

@maxhelias
Copy link
ContributorAuthor

@wouterj I rebase the branch and I harmonize a little more the Normalizers & Encoders section.
Maybe it doesn't belong in this PR, tell me and I'll open another one if needed.

@wouterj
Copy link
Member

About the DOCtor errors your seeing: I reported this a couple days:OskarStark/doctor-rst#808 . Normally, we add 2 spaces between the columns in these tables, but to avoid this error I changed it to 1 space for one column :)

@maxheliasmaxheliasforce-pushed theoptions-context branch 2 times, most recently from0850560 tod7a7cc2CompareNovember 12, 2020 15:14
@maxhelias
Copy link
ContributorAuthor

Thanks for the tips, it's fixed 👍

@maxhelias
Copy link
ContributorAuthor

friendly ping@wouterj 😃

Copy link
Member

@wouterjwouterj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sorry, somehow this PR was no longer in my notification center.

I've one minor syntax fix, which we can also fix while merging. Are all these options introduced before Symfony 4.4, or do we need a.. versionadded:: 4.4 directive for new options?

@maxhelias
Copy link
ContributorAuthor

Don't worry about it. The most recent one has been integrated in version 4.1, do you want the directive anyway ?

@OskarStark
Copy link
Contributor

The correct versionadded directives would be super helpful if you can find them out 🙏

@maxhelias
Copy link
ContributorAuthor

maxhelias commentedDec 13, 2020
edited
Loading

@wouterj@OskarStark I added the right directive

@maxhelias
Copy link
ContributorAuthor

friendly ping@wouterj or@OskarStark 😃

@wouterjwouterj merged commitf1372f7 intosymfony:4.4Jan 11, 2021
wouterj added a commit that referenced this pull requestJan 11, 2021
* 4.4:  [#14384] Minor grammar fix in versionadded directive  Add missing options context
wouterj added a commit that referenced this pull requestJan 11, 2021
* 5.1:  Removed 4.2 versionadded directive  [#14384] Minor grammar fix in versionadded directive  Add missing options context
wouterj added a commit that referenced this pull requestJan 11, 2021
* 5.2:  Removed 4.2 versionadded directive  [#14384] Minor grammar fix in versionadded directive  Add missing options context
@wouterj
Copy link
Member

Thank you@maxhelias (also thank you for your patience!)! Lots of great new content in this PR :)

maxhelias reacted with heart emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@wouterjwouterjwouterj approved these changes

@OskarStarkOskarStarkOskarStark approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@maxhelias@javiereguiluz@wouterj@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp