Hey Bohdan,
Agree, in the video we change it to the "admin:write", I updated the code block in https://github.com/SymfonyCasts/api-platform/commit/a75b8fe146e38ba0a230fa86034ee993c5aae7e9
Thank you for reporting this!
Cheers! ...
... Gotcha. I've done just that and provided a detailed outline on https://github.com/api-platform/core/issues/2967 with a link and description on how to reproduce the issue. Thanks!
... I don't know if it is just me, but when I try using the api platform interface to create a user, it doesn't bcrypt the password, any idea why that is?
Hey John,
Ah, we're sorry about that! Yes, namespace was missed in the first code block, it's fixed now: https://symfonycasts.com/screencast/api-platform/validation#codeblock-4d04c62b2b
Thank you for reporting it!
Cheers! ...
Hey, thank you for this course. I think API Platform is great! I've been learning it for days now and I can't wait to see what you're going to teach us here. Keep up the good work, that's fantastic! ...
Hey Amin,
Yes, we're going to cover oneToMany relation in this course, but probably not much complex than that, just simple oneToMany - it will be just basics of API-Platform.
Cheers! ...
In Symfony I used to create a complex form, specially for oneToMany relations, you know using collection type, allow_add and other fascinating options, so is there anyway to have it in api platform? does this course cover things like this ? ...
Hey Diaconescu
I'm not sure I'm following you. What problem are you expieriencing? We can't access to your localhost, so we can't see your commits, and what's the relation of API Platform to this episode? ...
Hi,
so if I embed a JSON, the Platform will create a new object , if I use an IRI the platform simply add a reference.
Perfect but how to handle this situation; let I have an API to add a news from an external ...
... from this user. This action would return the user with his updated collection of cheese like we do with the regular /api/users/{id}.
How would i be able to do this with API platform ?
Maybe this is already covered in ...
... see in the browser network tab that this error occures because the "ManyToOne" assocation property,
makes a separate request to APi-platform, in my case it makes a separare call to "api/profiles" which contains all ...
Resource Metadata Factory Dynamic ApiResource Options
... pretty simple: given an
API Resource class - like App\Entity\User - its job is to read all the API
Platform metadata for that class - usually via annotations - and return it as
a ResourceMetadata object. Yep, this ...
ACL Only Owners can PUT a CheeseListing
... security in
API Platform 2.5 - allows you to write an "expression" inside using Symfony's
expression language. This is_granted() thing is a function that's available
in that, sort of, Twig-like expression language.
We ...
... ": "",
"short_class": "",
"class": "",
"type": "",
"function": "",
"file": "/Users/bernardo/Sites/tutorials/code-api-platform-extending/start/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php ...
... `composer.json`:
```json
{
"type": "project",
"license": "proprietary",
"require": {
"php": "^7.1.3",
"ext-ctype": "*",
"ext-iconv": "*",
"api-platform/core": "^2.1 ...
... you maybe already saw, this isn't supported currently (https://github.com/api-platform/api-platform/issues/571).... which means you'll need to add this stuff manually. That's not a total loss... you'll still be able to ...
Hey Roland W.!
> This course "only" covers CRUD operations, right
Haha, yes. That's not exactly on purpose - it's a product of REST - REST fits most "cleanly" for CRUD operations and API Platform is all about REST. On ...
Client Credentials
... around
the farm has always taken a lot of time.
But great news! The brand new "Chicken Oversight Operations Platform", or
COOP site has just launched! With COOP, you can login to the site and
collect your chicken eggs ...
... be also "oneToOne"?
2- By Following your other Tutorials, I have made a Database and Api Platform and also I have a React Native Mobile App with a login screen and an Api back-end! but, I don't know the flow of ...
... /company/vendor/api-platform/core/src/Doctrine/Orm/State/ItemProvider.php",
"line": 87,
"function": "getOneOrNullResult",
"class": "Doctrine\\ORM\\AbstractQuery",
"type ...
1027
API Platform
Filter Results