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
When a Float field is added to type definition, the materializer (buildASTSchema) breaks down with Error: Type Float not found in document. Adding a float field to HelloScalars test confirms the issue.
Patch is simple, one-line tweak to getTypeDefProducer function in utilities/buildASTSchema.js to add Float to innerTypeMap map, as follows:
When a Float field is added to type definition, the materializer (
buildASTSchema
) breaks down withError: Type Float not found in document
. Adding a float field to HelloScalars test confirms the issue.Patch is simple, one-line tweak to getTypeDefProducer function in utilities/buildASTSchema.js to add
Float
toinnerTypeMap
map, as follows:With this, the new HelloScalars test passes, I'll submit a PR in a sec (updated test + patch).
The text was updated successfully, but these errors were encountered: