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

Allow Upper Case property names in ObjectNormalizer#22550

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:2.8frominsekticid:patch-object-serializer-upper-case-attribute
Apr 29, 2017
Merged

Allow Upper Case property names in ObjectNormalizer#22550

fabpot merged 1 commit intosymfony:2.8frominsekticid:patch-object-serializer-upper-case-attribute
Apr 29, 2017

Conversation

@insekticid
Copy link
Contributor

QA
Branch?2.8
Bug fix?yes
New feature?no
BC breaks?yes
Deprecations?no
Tests pass?yes
Fixed tickets#22547
LicenseMIT

Same problem that has been fixed here#22265
and hereapi-platform/core#1037

ObjectNormalizer returns $id instead of $Id. It is bad naming convention, but is possible

class Entity {protected$Id;publicfunctiongetId()    {return$this->Id;    }}

| Q                | A| ---------------- | -----| Bug report?      | yes| Feature request? | no| BC Break report? | yes| RFC?             | no| Symfony version  | 2.8.19Same problem that has been fixed here#22265and hereapi-platform/core#1037ObjectNormalizer returns $id instead of $Id. It is bad naming convention, but is possible```phpclass Entity {    protected $Id;    public function getId()    {        return $this->Id;    }}```
@fabpot
Copy link
Member

Thank you@insekticid.

@fabpotfabpot merged commitb2b4faa intosymfony:2.8Apr 29, 2017
fabpot added a commit that referenced this pull requestApr 29, 2017
…ticid)This PR was merged into the 2.8 branch.Discussion----------Allow Upper Case property names in ObjectNormalizer| Q             | A| ------------- | ---| Branch?       | 2.8| Bug fix?      | yes| New feature?  | no| BC breaks?    | yes| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#22547| License       | MITSame problem that has been fixed here#22265and hereapi-platform/core#1037ObjectNormalizer returns $id instead of $Id. It is bad naming convention, but is possible```phpclass Entity {    protected $Id;    public function getId()    {        return $this->Id;    }}```Commits-------b2b4faa Allow Upper Case property names in ObjectNormalizer
This was referencedMay 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dunglasdunglasdunglas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

2.8

Development

Successfully merging this pull request may close these issues.

5 participants

@insekticid@fabpot@dunglas@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp