Skip to content

feat(metadata): Deprecate the class argument in AsResource#1159

Draft
loic425 wants to merge 1 commit intoSylius:1.15from
loic425:deprecate-as-resource-class-attribute
Draft

feat(metadata): Deprecate the class argument in AsResource#1159
loic425 wants to merge 1 commit intoSylius:1.15from
loic425:deprecate-as-resource-class-attribute

Conversation

@loic425
Copy link
Copy Markdown
Member

@loic425 loic425 commented Mar 3, 2026

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets fixes #1157
License MIT

@loic425 loic425 marked this pull request as draft March 5, 2026 08:28
@loic425
Copy link
Copy Markdown
Member Author

loic425 commented Mar 5, 2026

Not sure about this one. The implementation on APIP has been changed since the last time I've checked.
I need to dig on the implementation before.

@loic425
Copy link
Copy Markdown
Member Author

loic425 commented Mar 5, 2026

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: explicit class parameter in #[AsResource] is always overwritten by the resource PHP class

2 participants