Configurable literal coercion #2
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?
coerceInputLiteraldefault 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.
coerceInputLiteralintocoerceLiteralScalarTypeshould probably have an additional constructor argument which saves the functionValue->Maybe Valuewhich performs the coercion.coerceVariableValueandserialize- they should probably take a bit more responsibility if the built-in and custom scalars are going to be handled equally.