Skip to content

Conversation

@aaa2000
Copy link
Contributor

@aaa2000 aaa2000 commented Jan 21, 2026

Q A
Branch? 4.2
Tickets Closes #7627
License MIT

Fix error

Parameter ".json_streamer.lazy_ghosts_dir" not found. It was probably deleted during the compilation of the container. Did you mean this: ".json_streamer.lazy_ghosts_dir.jsonld"? 

@see See the changes on the constructor of Symfony\Component\JsonStreamer\JsonStreamReader symfony/json-streamer@v7.3.0...7.4 and symfony/json-streamer@7.4...v8.0.0

Maybe, it might be better to use the named arguments syntax

...
->arg('$configCacheFactory', ...)
->arg('$lazyGhostsDir', ...)

I need to check why the tests weren't failing...

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.

symfony/json_streamer 8.0 not working with api-platform and leads to error

1 participant