Skip to content

Conversation

GSadee
Copy link
Contributor

@GSadee GSadee commented Oct 20, 2023

Q A
Branch? 3.1
Tickets
License MIT
Doc PR

In the project I am working on (Sylius), we need to return the appropriate IRI depending on the section we are in. To achieve this I decorated the IriConverter and based the logic on the request information I had in the context. Unfortunately, in one of the places where the IriConverter is called, I found that the context is not being passed.

@GSadee GSadee force-pushed the pass-context-to-iri-converter branch 5 times, most recently from 47862d4 to f63ff78 Compare October 20, 2023 11:05
@GSadee GSadee force-pushed the pass-context-to-iri-converter branch from f63ff78 to 66c19b7 Compare October 23, 2023 08:40
@soyuka soyuka merged commit b2d9ce4 into api-platform:3.1 Oct 27, 2023
@GSadee GSadee deleted the pass-context-to-iri-converter branch October 27, 2023 12:08
TheMilek added a commit to Sylius/Sylius that referenced this pull request Nov 6, 2023
| Q | A |

|-----------------|--------------------------------------------------------------|
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets |
[5908](api-platform/core#5908)
| License         | MIT
GSadee pushed a commit to Sylius/SyliusApiBundle that referenced this pull request Nov 14, 2023
| Q | A |

|-----------------|--------------------------------------------------------------|
| Branch?         | api-platform-3
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets |
[5908](api-platform/core#5908)
| License         | MIT
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