Please add configuration to add additional ObjectMapper settings in BaseQueryExecutor and DgsRestController #740
golfingal72
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to suppress null fields in my outbound payloads to reduce the overhead and size of the payload just to put field names and null... for large payloads this helps reduce the network traffic.
Can you PLEASE add a configuration options to the system to specify the
Include.NON_NULL
Include.NON_EMPTY
values on the object mapper that gets used in the BaseQueryExecutor and DgsRestController.
It appears DgsRestController calls the DgsDefaultExecutor->BaseQueryExecutor and has it's own ObjectMapper defined to create the outbound json, so that's where it needs to be.. the objectMapper in the DgsRestController has no options configured????
Beta Was this translation helpful? Give feedback.
All reactions