uawdijnntqw1x1x1
IP : 216.73.216.8
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
vendor
/
webonyx
/
.
/
graphql-php
/
docs
/
.
/
best-practices.md
/
/
# Type Registry **graphql-php** expects that each type in Schema is presented by single instance. Therefore if you define your types as separate PHP classes you need to ensure that each type is referenced only once. Technically you can create several instances of your type (for example for tests), but `GraphQL\Type\Schema` will throw on attempt to add different instances with the same name. There are several ways to achieve this depending on your preferences. We provide reference implementation below that introduces TypeRegistry class:
/srv/users/craft4/apps/craft4-newsite-space/vendor/webonyx/./graphql-php/docs/./best-practices.md