@Override
        public Bytes32 parseLiteral(
            final Value<?> input,
            final CoercedVariables variables,
            final GraphQLContext graphQLContext,
            final Locale locale)
            throws CoercingParseLiteralException {
          var result = convertImpl(input);
          if (result == null) {
            throw new CoercingParseLiteralException("Value is not any Bytes32 : '" + input + "'");
          } else {
            return result;
          }
        }
The Scalars class provides methods for creating GraphQLScalarType objects. These objects
represent the scalar types used in GraphQL, such as Address, BigInt, Bytes, Bytes32, and Long.
Each method in this class returns a GraphQLScalarType object that has been configured with a
specific Coercing implementation. The Coercing implementation defines how that type is
serialized, deserialized and validated.
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/graphql/internal/Scalars.java