Skip to content
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

Fix non unique typename #2004

Merged
merged 5 commits into from Aug 24, 2022

Conversation

C-R-W
Copy link
Contributor

@C-R-W C-R-W commented May 19, 2022

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 C-R-W changed the title C r w fix non unique typename C Fix non unique typename May 19, 2022
@C-R-W C-R-W changed the title C Fix non unique typename Fix non unique typename May 19, 2022
@CLAassistant
Copy link

CLAassistant commented May 19, 2022

CLA assistant check
All committers have signed the CLA.

@dpfaffenbauer
Copy link
Member

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

@dpfaffenbauer
Copy link
Member

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

@C-R-W
Copy link
Contributor Author

C-R-W commented Jul 6, 2022

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

@dpfaffenbauer dpfaffenbauer merged commit ef8dbf4 into coreshop:master Aug 24, 2022
@dpfaffenbauer
Copy link
Member

thanks @C-R-W

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants