Class ValuesResolverLegacy


  • class ValuesResolverLegacy
    extends java.lang.Object
    • Constructor Detail

      • ValuesResolverLegacy

        ValuesResolverLegacy()
    • Method Detail

      • valueToLiteralLegacy

        static Value<?> valueToLiteralLegacy​(java.lang.Object value,
                                             GraphQLType type,
                                             GraphQLContext graphqlContext,
                                             java.util.Locale locale)
        Legacy logic to convert an arbitrary java object to an Ast Literal. Only provided here to preserve backwards compatibility.
      • handleNumberLegacy

        private static Value<?> handleNumberLegacy​(java.lang.String stringValue)
      • handleListLegacy

        private static Value<?> handleListLegacy​(java.lang.Object value,
                                                 GraphQLList type,
                                                 GraphQLContext graphqlContext,
                                                 java.util.Locale locale)
      • handleNonNullLegacy

        private static Value<?> handleNonNullLegacy​(java.lang.Object _value,
                                                    GraphQLNonNull type,
                                                    GraphQLContext graphqlContext,
                                                    java.util.Locale locale)
      • serializeLegacy

        private static java.lang.Object serializeLegacy​(GraphQLType type,
                                                        java.lang.Object value,
                                                        GraphQLContext graphqlContext,
                                                        java.util.Locale locale)