You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API Platform version(s) affected: v3.2.13 Description
I'm trying to use the genId: false on a property of an asset object. (specifically on a method)
When I configure it via attributes it is working. However I cannot get it to work via YAML.
If I remove the ApiProperty and use the following Yaml config it is not working:
As I wasn't sure if it is making a differnence I tried it with the properties section of a resource as well as with the
"standalone" properties section at the bottom. Ofc I have removed the other section while testing, both are only in there as demonstration purpose)
I searched various forums/ docs / examples but could not find a working example to achive the result with yaml.
Is this a bug or am I doing something wrong?
Thanks a lot!
BR
Alex
The text was updated successfully, but these errors were encountered:
API Platform version(s) affected: v3.2.13
Description
I'm trying to use the
genId: false
on a property of an asset object. (specifically on a method)When I configure it via attributes it is working. However I cannot get it to work via YAML.
If I remove the ApiProperty and use the following Yaml config it is not working:
As I wasn't sure if it is making a differnence I tried it with the properties section of a resource as well as with the
"standalone" properties section at the bottom. Ofc I have removed the other section while testing, both are only in there as demonstration purpose)
Partial output with attribute:
Partial output without attribute:
I searched various forums/ docs / examples but could not find a working example to achive the result with yaml.
Is this a bug or am I doing something wrong?
Thanks a lot!
BR
Alex
The text was updated successfully, but these errors were encountered: