Configurable literal coercion #2
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: OSS/graphql#2
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
coerceInputLiteral
default scalars. There is now a way to add custom serialization and custom variable coercing, but coercing the literals isn't extendable.The outcome of this issues should be the possibility to define custom scalar types.
coerceInputLiteral
intocoerceLiteral
ScalarType
should probably have an additional constructor argument which saves the functionValue
->Maybe Value
which performs the coercion.coerceVariableValue
andserialize
- they should probably take a bit more responsibility if the built-in and custom scalars are going to be handled equally.