Skip to content

It is impossible to override an built-in scalar #1000

@filosganga

Description

@filosganga

Sangria comes with a set of built-in scalar.

However, sometime the builtin implementation does not fit the requirements, for example, some people would like to represent a BigDecimal always as string.

If the user defines a custom scalar with the same name of a builtin, it is ignored rather than override the builtin one.

I think it should be good instead to allow overriding the builtin scalars and use them only as fallback.

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