1025 search results for API Platform

... even has (via a simple trait, similar to Alice) a way to initialize and reset the database between tests. I'm not familiar with the issue of Alice being incompatible with api-platform 2.5.7 - I dumped it because Foundry is ...
weaverryan
weaverryan
Read Full Comment
Hey Vladislav T.! > I watched the first and half of the second courses. I am very excited about API Platform features. Yaaay! > But I am concerned about the ability to create custom endpoints. This is one of the big ...
weaverryan
weaverryan
Read Full Comment
... /api-platform/core/src/Bridge/Symfony/Bundle/Test/ApiTestCase.php:62 /var/www/html/tests/Functional/CheeseListingResourceTest.php:16 ERRORS! Tests: 1, Assertions: 0, Errors: 1. I checked the framework.yaml and the test variable is true Could you help me to resolve it? Thanks a lot
Gaetano S.
Gaetano S.
Read Full Comment
... create a API Platform custom filter. Then, assuming you're using a database with a proper JSON type (like pgsql or MySQL 5.7 or higher), you would need to do a bit more work to query for the item via Doctrine. Basically ...
weaverryan
weaverryan
Read Full Comment
... with no luck. B) The oldest "api-platform/core" version I managed to downgrade to was 2.5.2: 2.5.0 requires Symfony ^4.0, 2.5.1 raised an error connected to ExceptionListener from Symfony HttpKernel package. And ta-da-am ...
Hey Александр Ш. ! Ok, I just checked our code using API Platform 2.5 to be sure. And, it *does* work... meaning, it *should* work for you... and I'm not sure why it doesn't. However, with a little bit of debugging, we ...
weaverryan
weaverryan
Read Full Comment
... \NotAcceptableHttpException: "The content-type "application/x-www-form-urlencoded" is not supported. Supported MIME types are "application/ld+json", "application/json", "text/csv", "application/hal+json"." at /application/vendor/api ...
... enough - it's still a pretty "simple matching" search. If you need a more robust search or a more performant search, the proper solution is to use ElasticSearch and the ElasticSearch integration with API Platform. That's ...
weaverryan
weaverryan
Read Full Comment
... tutorials are to advanced for me, at this moment. I don't even know why or when to use API-platform and/or Messenger so for the last two or three months I have lost interest in Symfonycasts. I am, however, eagerly ...
... api_platform_bug`), install API platform and see if you can reproduce the bug with the *minimum* amount of code possible. Then, push that to GitHub on its own repo and link to it from the issue. I can say from experience ...
weaverryan
weaverryan
Read Full Comment
... include a Bearer Token, the response recieved is the login page code. What I would like to do is return a JsonResponse. Any ideas about how to do this? I am not getting it to work. I don't think it matters. But, just in case, I am doing this in a new project using API Platform. Thanks in advance!
... API Platform version: 3.1.14 Thanks a lot, all help is really appreciated. EDIT: sorry, I seem to struggle with the code block, I can't manage to put it in one codeblock ...
On the latest version of API Platform (3.2) it looks like Virtual Properties don't seem to work correctly when creating embedded objects. I've added group "user:write" to the "name" and "value" properties in ...
... it should understand this intention. > It works but is it not using the Event system? This IS GraphQL-friendly, so keep it. By "don't use the event system", API Platform means don't try adding event listeners to ...
weaverryan
weaverryan
Read Full Comment
... //github.com/api-platform/core/blob/60240f506802883a8f02b7015b9d676f8a2897d5/src/Serializer/AbstractItemNormalizer.php - because this is where that `api_empty_resource_as_iri` is read and used to return the IRI. But if ...
weaverryan
weaverryan
Read Full Comment
... metadata" and another part would already have the values of a more current "json metadata". If there was a way to "hack" swagger documentation to inform the user about this details would be nice. And it would be perfect if api-platform created the calls to POST already showing the fields inside json!
... help Symfony and API Platform by doing it myself if needed, but I still have lot to learn before contributing to the community :) I think at least that this behaviour should be mentioned here: https://api-platform.com/docs ...
Override extension configuration via compiler pass; I'm trying to override an existant api platform configuration `api_platform.mapping.paths` via a some kinda of custom Compiler Pass *The goal is to merge my new ...
... weekend. Do you have any ideas? Can you reproduce this problem? Thank you very much in advance. Annemieke Update I've created a new project with symfony 5. Only added api platform to it, And two entities, namely user and cheeselisting. No security yet, nothing. And it still does not work. I'm close to giving up.
... "core" calls that resolver: https://github.com/api-platform/core/blob/d6f2603fe80236b1c7bac2a92b49b337c8cc6973/src/GraphQl/Resolver/Factory/ItemMutationResolverFactory.php#L112-L117 I wouldn't normally want this type of ...
weaverryan
weaverryan
Read Full Comment