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
if you try to deserialize into the sub-bean, you get java.lang.IllegalStateException: Could not resolve type T. Same is true for a base bean with a setter that takes a T parameter.
While debugging this, I found that given the classes
Hi @eranl, thanks for reaching out. Pull requests are most definitely welcome and are highly appreciated! That said, since you've also posted with the corresponding PRs in the other repos, I'll try to get some feedback from the assigned engineer and then we'll post back here once we get some updates.
Just an update, this has been added to the roadmap, however since any change will need to be reviewed and approved by our engineers, this may take a bit of time. While we can't promise any timeline, rest assured this will be looked at once our engineers have the resources to see this through.
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Given the classes
if you try to deserialize into the sub-bean, you get
java.lang.IllegalStateException: Could not resolve type T
. Same is true for a base bean with a setter that takes a T parameter.While debugging this, I found that given the classes
deserializing into MapSubBean or MapBeanHolder, the code errs on the lenient side, and would accept any type of values into the
values
map.I have a proposed backward-compatible fix for both issues. Should I post a PR?
I have posted this bug and the corresponding PR on the other version of this library (googleapis/java-firestore#1313 & googleapis/java-firestore#1323 respectively).
The text was updated successfully, but these errors were encountered: