Skip to content

Feature Request: Custom Scalar Definitions #20

@3nvi

Description

@3nvi

@ardeois to begin with, thanks for all the work being put in this plugin.

In our app we use AWS Appsync Scalars, which add specific GraphQL types for dates. Unfortunately, one of them is AWSTimeStamp which maps to a timestamp (number).

Currently, as it stands, this plugin translates all the custom scalars into strings which breaks our TS validation, since we expected a number.

Given the fact that you said that custom scalars need to accept custom definitions, my question would be whether you have immediate plans to support it and/or whether you would be open to accepting PRs to add this functionality.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions