Skip to content

Skip default scalars #432

Open
Open
@jvliwanag

Description

@jvliwanag

Currently, default scalars are hardcoded on the generated code -- Int, Float, String, Boolean, and ID. Requesting a feature to skip defining this scalars.

My particular use case is I wish to override ID, since the ID I'm receiving follows a certain format which would be better off represented as a custom struct with its own serde serializer, deserializer.

Perhaps introducing a skip_default_scalars option makes sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions