You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, a very nice library. Great work for allowing dev to use the GraphQL in a very easy mode.
I'm coming across the issue that subscription response does not include the null value. After digging into the library, I have found the library was set to ignore NULL value which is located in ApolloMessage.class
static { mapper = (new ObjectMapper()).setSerializationInclusion(Include.NON_NULL); }
Therefore, it takes some effort to overwrite the whole ApolloProtocoHandler.class in order to include the null value.
I do understand that it may be designed in purpose, but it would be great if the developer can configure this param.
Leave the comment below, I'm interested in what's your option.
The text was updated successfully, but these errors were encountered:
First of all, a very nice library. Great work for allowing dev to use the GraphQL in a very easy mode.
I'm coming across the issue that subscription response does not include the null value. After digging into the library, I have found the library was set to ignore NULL value which is located in ApolloMessage.class
static { mapper = (new ObjectMapper()).setSerializationInclusion(Include.NON_NULL); }
Therefore, it takes some effort to overwrite the whole ApolloProtocoHandler.class in order to include the null value.
I do understand that it may be designed in purpose, but it would be great if the developer can configure this param.
Leave the comment below, I'm interested in what's your option.
The text was updated successfully, but these errors were encountered: