1026 search results for API Platform

Hey lexhartman Seems like it's related to this problem https://github.com/api-platform/core/issues/1554 What you can do is to play with the `@SerializedName()` annotation to make it match to your property getter ...
MolloKhan
MolloKhan
Read Full Comment
Hey Hannah R. Looks like there will be some upcoming changes in api platform configuration. There is nothing to worry about because when version 3.0 will be released all configuration changes should be listed. The ...
... so yo use it in API Platform examples (and they use it internally). > But, I'd like to see HA or Clean Architecture with Symfony too! I'll add a couple of votes for this tutorial internally :). Cheers!
weaverryan
weaverryan
Read Full Comment
... the API platform, I got the error: "createdAt: this field can not be empty". Same for the updatedAt field. I so tried to set them via a data persister but it looks like it is called after the validation?
... client add an 'accept language' to the request header? And if the 'accept language' is the answer, how do i deal with this in api platform? Thank you for your answer .
Hey teh_policer! Hmm, it sounds like maybe my description of how things should look in API Platform 2.5 was not very clear? Is that correct? I was thinking that the ACL should look like this in 2.5: ``` (2.4 ...
weaverryan
weaverryan
Read Full Comment
... depends on price, creation date, owner, location... I wish there will be some performance topic in the next API Platform course, because with a big database mysql could be low performing :)
... > Maybe bad request headers? That's possible, try comparing both requests (dev and prod) I dug for a bit and found this issue on Github: https://github.com/api-platform/core/issues/1070 it might be related to your case ...
MolloKhan
MolloKhan
Read Full Comment
Hey Stefan T.! Yea... I kind of agree. I recently opened an issue on API Platform where I recommended adding something that would look more like `access_control="ROLE_USER"`, but I'm not sure if it will go anywhere ...
weaverryan
weaverryan
Read Full Comment
Are you guys also planning on doing a course on Vue.js since some newer courses like Messenger or API Platform Security have their frontend built on it? I would love to build a single page app but it seems so hard to ...
Tobias I.
Tobias I.
Read Full Comment
I am new to API Platform and Symfony framework, so I have lots of questions. :) Until the end of the tutorial, there is no updates in repository files, such as CheeseListingRepository.php. I think it is auto-generated ...
... \CheeseListin !! g" in . (which is being imported from "/Volumes/SanDisk/Documents/code/symf !! ony/api-platform/config/routes/api_platform.yaml"). Make sure there is a lo !! ader supporting the "api_platform ...
... using messenger with an Api Platform application (`https://api-platform.com/docs/core/messenger/`). I do this together with doctrine. What i want to know is this: When a client calls an url on my api that generates lots ...
Annemieke-B
Annemieke-B
Read Full Comment
... validation check that the API client does or doesn't have permission to update this user. This is not exactly the same, but it's related and can maybe offer some inspiration: https://symfonycasts.com/screencast/api-platform-extending/simpler-validator Let me know if you have any luck, I'd love to know! Cheers!
weaverryan
weaverryan
Read Full Comment
... I've upgraded the tutorial project to Symfony 6.4 and api-platform 3.2 including all recipes... And I was fighting hard to get the same result as the tutorial. Apparently. If you have a property `isOwnedBy ...
Joris-Mak
Joris-Mak
Read Full Comment
In combination with API-Platform it is explained here: https://api-platform.com/docs/core/performance/#eager-loading. There are multiple ways. But I don't see an example for fetching an embedded relation one time ...
... ":"\/api\/contexts\/User","@id":"\/api\/users\/1","@type":"User","phoneNumber":null,"isMe":true}; ``` Do you see `@context` in your result? It seems like your User object is being serialized almost outside/without API ...
weaverryan
weaverryan
Read Full Comment
... ONLY when the URL has `newQuery=true`? If so, that might be done with a context builder - https://symfonycasts.com/screencast/api-platform-security/context-builder - if the query param exists, then add a new group that the field is in. Or do you want something different? Cheers!
weaverryan
weaverryan
Read Full Comment
... 4 different times (for the 4 different steps of information) seems weird to me. (B) Another way to look at this process is that it's a workflow... and you can do some *really* interesting things with API Platform and ...
weaverryan
weaverryan
Read Full Comment
Hey! Attributes are great! But I have a question. I heard that you can use functions inside attributes uses for repetitive things. I am thinking of a specific use case on API Platform for example (but this applies ...