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 recently made an observation that ScalarType::parseValue() is called twice for custom scalars.
This is due to webonyx/graphql already resolving ScalarType and EnumType by itself while GraphQLite is trying to resolve it again. Obviously this observation already has been made for Enums but not for Scalars:
Hi,
I recently made an observation that
ScalarType::parseValue()
is called twice for custom scalars.This is due to webonyx/graphql already resolving ScalarType and EnumType by itself while GraphQLite is trying to resolve it again. Obviously this observation already has been made for Enums but not for Scalars:
GraphQL\Utils\Value
TheCodingMachine\GraphQLite\Types\ArgumentResolver
I guess the second resolve call can be omitted then if we have a ScalarType :)
The text was updated successfully, but these errors were encountered: