Skip to content

Conversation

@valentin-dassonville
Copy link
Contributor

Q A
Branch? 4.0
Tickets #4358
License MIT

The Hal serializer didn't detect circular references, creating an infinite json.

Now Hal's ItemNormalizer can detect and handle this case.

@valentin-dassonville valentin-dassonville force-pushed the fix/hal-circular-reference branch 2 times, most recently from f2935b4 to e4ead18 Compare October 25, 2024 08:50
@valentin-dassonville valentin-dassonville changed the title Fix(hal): detecting and handling circular reference fix(serializer): hal serializer detecting and handling circular reference Oct 25, 2024
@valentin-dassonville valentin-dassonville force-pushed the fix/hal-circular-reference branch 2 times, most recently from 287c0a2 to d3efc4a Compare October 28, 2024 10:59
@soyuka
Copy link
Member

soyuka commented Oct 28, 2024

I think we should target 3.4 as a bug fix

@soyuka soyuka changed the base branch from 4.0 to 3.4 October 29, 2024 14:20
@soyuka soyuka force-pushed the fix/hal-circular-reference branch from d3efc4a to ce6f3b8 Compare October 29, 2024 14:22
@soyuka soyuka changed the title fix(serializer): hal serializer detecting and handling circular reference fix(hal): detecting and handling circular reference Nov 15, 2024
@soyuka soyuka merged commit ab88353 into api-platform:3.4 Nov 15, 2024
77 of 78 checks passed
BacLuc added a commit to BacLuc/ecamp3 that referenced this pull request Jan 3, 2025
BacLuc added a commit to ecamp/ecamp3 that referenced this pull request Jan 3, 2025
BacLuc added a commit to ecamp/ecamp3 that referenced this pull request Jan 12, 2025
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.

3 participants