CoreShop icon indicating copy to clipboard operation
CoreShop copied to clipboard

Fix non unique typename

Open C-R-W opened this issue 2 years ago • 4 comments

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 avatar May 19 '22 09:05 C-R-W

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar May 19 '22 09:05 CLAassistant

@C-R-W please sign the CLA and check why tests are failing now

dpfaffenbauer avatar May 23 '22 05:05 dpfaffenbauer

@C-R-W Tests fail for other reasons, I still have some comments

dpfaffenbauer avatar Jun 09 '22 06:06 dpfaffenbauer

Hi, i updated the files, is this ok so?

C-R-W avatar Jul 06 '22 16:07 C-R-W

thanks @C-R-W

dpfaffenbauer avatar Aug 24 '22 08:08 dpfaffenbauer