Skip to content

fix(serializer): prevent context leakage with service-based entity resolution#7756

Merged
soyuka merged 4 commits intoapi-platform:4.2from
soyuka:fix/7733
Feb 13, 2026
Merged

fix(serializer): prevent context leakage with service-based entity resolution#7756
soyuka merged 4 commits intoapi-platform:4.2from
soyuka:fix/7733

Conversation

@soyuka
Copy link
Member

@soyuka soyuka commented Feb 13, 2026

Q A
Branch? 4.2
Tickets Fixes #7733
License MIT
Doc PR
  • Create OperationResourceResolverInterface service to validate entity-to-resource mappings
  • Add framework-specific decorators (Doctrine, Eloquent) to handle stateOptions validation
  • Remove force_resource_class propagation to nested objects preventing DateTimeImmutable issues

@soyuka soyuka force-pushed the fix/7733 branch 2 times, most recently from cf2230b to a692b51 Compare February 13, 2026 15:00
…solution (api-platform#7733)

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Tickets       | Fixes api-platform#7733
| License       | MIT
| Doc PR        | ∅

* Create OperationResourceResolverInterface service to validate entity-to-resource mappings
* Add framework-specific decorators (Doctrine, Eloquent) to handle stateOptions validation
* Remove force_resource_class propagation to nested objects preventing DateTimeImmutable issues
@soyuka soyuka force-pushed the fix/7733 branch 2 times, most recently from 657ed55 to fbd5fec Compare February 13, 2026 15:38
@soyuka soyuka merged commit d70eec5 into api-platform:4.2 Feb 13, 2026
130 checks passed
@soyuka soyuka deleted the fix/7733 branch February 13, 2026 17:30
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.

1 participant