Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize ObjectMapper in ApolloMessage #35

Open
szantogab opened this issue Jun 15, 2019 · 2 comments
Open

Customize ObjectMapper in ApolloMessage #35

szantogab opened this issue Jun 15, 2019 · 2 comments

Comments

@szantogab
Copy link

Hi, awesome library, thanks for it!

Is it planned to be able to customize ObjectMapper in the ApolloMessage class?

My use case is that I'd like to serialize LocalDateTime as a string (by default it is serialized as an Object, it's really weird).

@toanuraggupta
Copy link

Hi szantogab,

Did u find any solution how we can we override mapper in graphql spqr ApolloMessage ? I also need to override it.

@szantogab
Copy link
Author

@toanuraggupta currently the only way I've found is a hack, I copied ApolloMessage class into my project with the original package name so it replaces the original class in the library on the class path. :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants