Skip to content
Discussion options

You must be logged in to vote

Hi @Ernir,

There were two recent changes to scalars:

  1. Coercing interface change to enable internationalization (i18n) of error messages, released in v20.0 #2912
  2. Breaking changes to built-in scalar parseValue coercion highlighted in the v20.0 release notes

The Coercing interface was changed to support i18n for coercing error messages, new methods take Locale and GraphQLContext as arguments. Have a look at built-in scalar Coercing implementations for ideas, for example Boolean: https://github.com/graphql-java/graphql-java/blob/v20.0/src/main/java/graphql/scalar/GraphqlBooleanCoercing.java

The breaking change highlighted at the top of the v20.0 release notes relates to the built-in scalars …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ferdinand-swoboda
Comment options

@bbakerman
Comment options

@bbakerman
Comment options

@Ernir
Comment options

Answer selected by Ernir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants