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
I'm using annotations in Symfony 6 on PHP 8.1 and I'm trying to define a custom scalar type for using the file upload feature.
Somehow the scalarType class name is not processed correctly and I end up with a faulty Type class.
I'm using annotations in Symfony 6 on PHP 8.1 and I'm trying to define a custom scalar type for using the file upload feature.
Somehow the scalarType class name is not processed correctly and I end up with a faulty Type class.
This is my definition:
and this is the (faulty) generated Type class (see the scalarType line):
The scalar class 'OverblogGraphQLBundleUploadTypeGraphQLUploadType' does not exist of course.
The Type class is generated correctly if I use the YAML variant.
UploadImageType.php:
Is this a bug in the type class generation or am I using Annotations wrong?
The text was updated successfully, but these errors were encountered: