I'm playing with this bundle on Api Platform 3. I've setup some examples and my responses for a GET-Request on http://localhost/test_entities/91656d77-1db8-4294-a841-004dc365fbb6 look like
I'm not sure about if I missed something or it's just the way it works :). My expectation was to get something like the shown json but without these doubles. Additionally on extending the request with ?locale=de I still get the whole response shown up here. Any hints for me so far without extracting the whole codebase here?
I am using API-Platform 3.1.17 and with Doctrine ORM 2.16.2.
hey @ocramleznem can you send me the code of your entity and translation entity? Maybe you added some extra serialization groups, so the response returns more data because of that.
I'm playing with this bundle on Api Platform 3. I've setup some examples and my responses for a GET-Request on
http://localhost/test_entities/91656d77-1db8-4294-a841-004dc365fbb6
look likeI'm not sure about if I missed something or it's just the way it works :). My expectation was to get something like the shown json but without these doubles. Additionally on extending the request with
?locale=de
I still get the whole response shown up here. Any hints for me so far without extracting the whole codebase here?I am using API-Platform 3.1.17 and with Doctrine ORM 2.16.2.