-
-
Notifications
You must be signed in to change notification settings - Fork 946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GenId in yaml not working? #2632
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: