Class JsonInputRegistry

java.lang.Object
io.smallrye.graphql.json.JsonInputRegistry

public class JsonInputRegistry extends Object
Here we register input objects to be used when creating method calls For now we need to - hold a custom JsonB map for custom name mapping and - hold a map of all fields in input types that needs transforming
Author:
Phillip Kruger (phillip.kruger@redhat.com)
  • Method Details

    • register

      public static void register(InputType inputType)
    • override

      public static void override(Map<String,jakarta.json.bind.Jsonb> overrides)
      Override Jsonb config for particular classes by the Jsonb instances supplied by the user via an EventingService