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

[FrameworkBundle][Serializer] Move SerializerPass to the Serializer#21293

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
fabpot merged 1 commit intosymfony:masterfromchalasr:serializer/serializerpass
Feb 16, 2017

Conversation

@chalasr
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?yes
Tests pass?yes
Fixed ticketsn/a
LicenseMIT
Doc PRn/a

Part of#21284

"symfony/validator":"~3.2",
"symfony/yaml":"~3.2",
"symfony/property-info":"~2.8|~3.0",
"symfony/property-info":"~3.1",
Copy link
Member

Choose a reason for hiding this comment

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

Why this change?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Because we change the framework's serializer requirement to 3.3, and the serializer in 3.3 requires this. The build with low deps was failing otherwise:

  1. Symfony\Bundle\FrameworkBundle\Tests\Functional\SerializerTest::testDeserializeArrayOfObject
    Error: Class 'phpDocumentor\Reflection\FileReflector' not found

Seehttps://travis-ci.org/symfony/symfony/jobs/191965990

Copy link
Member

Choose a reason for hiding this comment

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

Well, then it means that the serializer component should have the proper requirement or the proper conflict in place

chalasr and dunglas reacted with thumbs up emoji
Copy link
Member

Choose a reason for hiding this comment

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

It should be a conflict because the Serializer doesn't require PropertyInfo.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I'll open a PR for that.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

reverted thanks to#21309

@chalasrchalasrforce-pushed theserializer/serializerpass branch froma328e75 to9d3d592CompareJanuary 24, 2017 09:22
nicolas-grekas added a commit that referenced this pull requestJan 24, 2017
…(chalasr)This PR was merged into the 3.1 branch.Discussion----------[Serializer] Add missing conflict for property-info<3.1| Q             | A| ------------- | ---| Branch?       | 3.1| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21293 (comment)| License       | MIT| Doc PR        | n/aCommits-------60a0c4b [Serializer] Add missing conflict for property-info<3.1
symfony-splitter pushed a commit to symfony/serializer that referenced this pull requestJan 24, 2017
…(chalasr)This PR was merged into the 3.1 branch.Discussion----------[Serializer] Add missing conflict for property-info<3.1| Q             | A| ------------- | ---| Branch?       | 3.1| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |symfony/symfony#21293 (comment)| License       | MIT| Doc PR        | n/aCommits-------60a0c4b [Serializer] Add missing conflict for property-info<3.1
@chalasrchalasrforce-pushed theserializer/serializerpass branch 2 times, most recently fromc6169c3 tofea6cd4CompareJanuary 24, 2017 14:22
@chalasr
Copy link
MemberAuthor

@nicolas-grekas Is there any reason for adding this to the 3.x milestone but#21375 to the 3.3 one? They are about fixing the same ticket so if there is something wrong to you here, please tell me :)

@nicolas-grekasnicolas-grekas modified the milestones:3.3,3.xJan 24, 2017
@chalasrchalasrforce-pushed theserializer/serializerpass branch fromfea6cd4 toe7e5ac9CompareJanuary 24, 2017 15:00
@chalasr
Copy link
MemberAuthor

Updated this to make the serializer id and encoder/normalizer tags configurable through the constructor, defaulting to the ones used in the framework.

@chalasrchalasrforce-pushed theserializer/serializerpass branch frome7e5ac9 to5e54135CompareJanuary 24, 2017 15:09
@chalasrchalasrforce-pushed theserializer/serializerpass branch from5e54135 to95cf508CompareJanuary 25, 2017 12:54
@chalasr
Copy link
MemberAuthor

chalasr commentedJan 26, 2017
edited
Loading

But, isn't a BC break to add a parent class with a new constructor to the deprecated pass?
Edit: according to the BC promise:

Add constructor without mandatory arguments: Yes [1]
[1] Should be avoided. When done, this change must be documented in the UPGRADE file.

I guess it's fine here.

@chalasr
Copy link
MemberAuthor

Do we want to move forward on this for 3.3? It would be nice to have a thought, to know if it's worth working on other relevant passes listed in the ticket using the same approach.

@xabbuh
Copy link
Member

IMO it makes sense to move them.

@dunglas
Copy link
Member

👍

@fabpot
Copy link
Member

Thank you@chalasr.

@fabpotfabpot merged commit95cf508 intosymfony:masterFeb 16, 2017
fabpot added a commit that referenced this pull requestFeb 16, 2017
…he Serializer (chalasr)This PR was merged into the 3.3-dev branch.Discussion----------[FrameworkBundle][Serializer] Move SerializerPass to the Serializer| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | yes| Tests pass?   | yes| Fixed tickets | n/a| License       | MIT| Doc PR        | n/aPart of#21284Commits-------95cf508 [FrameworkBundle][Serializer] Move SerializerPass to the Serializer
@chalasrchalasr deleted the serializer/serializerpass branchFebruary 16, 2017 14:18
@fabpotfabpot mentioned this pull requestMay 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dunglasdunglasdunglas left review comments

@stofstofstof left review comments

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

7 participants

@chalasr@xabbuh@dunglas@fabpot@stof@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp