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
This is probably because jpy uses the base typing information from MapperBuilder as opposed to the more specific type present in the case of JsonMapper.Builder wrt com.fasterxml.jackson.databind.cfg.MapperBuilder#configure. It would be ideal if jpy knew that JsonMapper#configure returned a JsonMapper.
Certain patterns that compile in java are not currently executable in jpy.
For example,
fails with
If the code is modified as such:
it works (enable comes first).
This is probably because jpy uses the base typing information from MapperBuilder as opposed to the more specific type present in the case of JsonMapper.Builder wrt
com.fasterxml.jackson.databind.cfg.MapperBuilder#configure
. It would be ideal if jpy knew thatJsonMapper#configure
returned aJsonMapper
.The text was updated successfully, but these errors were encountered: