CoreShop
CoreShop copied to clipboard
Fix non unique typename
Q | A |
---|---|
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Fixed tickets | #... |
Fix non unique type name.
Bug: If there is more then one SerializedDataType in a schema entity a exception gets thrown.
Uncaught PHP Exception GraphQL\Error\InvariantViolation: "Schema must contain unique named types but contains multiple types named "coreShopSerializedData" (see http://webonyx.github.io/graphql-php/type-system/#type-registry)." at /var/www/vhosts/portal.prooptik.de/pimcore-live/vendor/webonyx/graphql-php/src/Utils/Utils.php line 333 {"exception":"[object] (GraphQL\Error\InvariantViolation(code: 0): Schema must contain unique named types but contains multiple types named "coreShopSerializedData" (see http://webonyx.github.io/graphql-php/type-system/#type-registry). at /var/www/vhosts/portal.prooptik.de/pimcore-live/vendor/webonyx/graphql-php/src/Utils/Utils.php:333)"
@C-R-W please sign the CLA and check why tests are failing now
@C-R-W Tests fail for other reasons, I still have some comments
Hi, i updated the files, is this ok so?
thanks @C-R-W