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
In the first export statement, all custom scalars are exported. The next statement explicitly exports all scalars, which is redundant. Later in the runtime scalar registry, the scalar is undefined. This can be fixed in 2 ways:
Change the explicit export to an import statement. The export is unneeded because all scalars are already exported. The CustomScalars import can be changed to a type-only import.
Remove the explicit export and use CustomScalars.MyScalar in the runtime registry.