Closed louislepper closed 11 months ago
@pbassut - Does this make sense? Can we do this?
I also wasn't sure why gsonInstance was static - not sure if I'm missing something here.
All works fine! could you help us tu run this command to fix format issues on Analytics.java, please?
mvn spotless:apply
Done 👍
@edsonjab / @pbassut - Can we merge this?
@edsonjab can we merge this branch? It's also blocking us from moving to Java 17.
@bsneed / @MichaelGHSeg Would either of you be able to review?
Hey @edsonjab do you have any update on this PR? 🥺
Following up internally, stay tuned. Will get an answer this week.
Hi @bsneed / @wenxi-zeng / @edsonjab
Thanks for the approval. Unfortunately I don't have permission to hit merge - Would one of you be able to?
Hi @louislepper we will request to merge your PR
Released in 3.5.0
Hi there,
I'm getting some issues when upgrading services to Java 17, where previously Gson was able to automatically deserialise things like java.util.Optional, and java.util.Duration, but now gets exceptions due to disallowed reflection.
Can we change Analytics / AnalyticsClient, to allow the GsonBuilder to be passed in, so that consumers can provide TypeAdapters and TypeAdapter factories as needed, for deserialisation of any classes that they'd like to send in analytics messages?