Skip to content

Add ability to map custom scalar types #19

Description

@vladar

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions