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
At the moment, any custom scalar type is replaced with the most generic JSON type. We should allow you to define a map of remoteScalarType => gatsbyScalarType in the config.
Technically it is also possible now by overriding toolkit's types with schema customization. But it is tedious as it has to be done per-field (so if you have fields of type Timestamp on 100 different types, you will have to add 100 type definitions manually).
The text was updated successfully, but these errors were encountered:
Just ran into this. Couldn't figure out why Gatsby revised gatsbyImageData to be of scalar type GatsbyImageData, but our generated schema from our remote source still shows JSON.
Any chance this toolkit gets some love anytime soon, @vladar, or is it dead?
At the moment, any custom scalar type is replaced with the most generic
JSON
type. We should allow you to define a map ofremoteScalarType => gatsbyScalarType
in the config.Technically it is also possible now by overriding toolkit's types with schema customization. But it is tedious as it has to be done per-field (so if you have fields of type
Timestamp
on 100 different types, you will have to add 100 type definitions manually).The text was updated successfully, but these errors were encountered: