Closed josephlbarnett closed 1 year ago
Jackson project does not support automagic selection between javax and jakarta dependencies: instead, there should be 2 separate implementations (see README of this repo wrt JAXB-vs-Jakarta-Xml-Bind annotations module). So we'd probably need second alternate Guice module here.
But note, too, that the module as-is only supports Guice 4.x. So someone would need to, I think, first figure out what work is needed to get later versions might need. It is possible it might only require adding javax API dependency but that is just guessing.
I don't know enough to be able to resolve this but if you or anyone else have time and itch to dig in, I'd be happy to help however I can wrt code reviews, getting PR(s) merged and so on.
Trying to migrate an app using the guice module to guice 7 which uses jakarta.inject package/namespace, and seeing this error:
Assuming something would need to be done to support javax.inject.Inject and/or jakarta.inject.Inject based on runtime dependency availability? seems like a mess but is there an existing workaround I'm missing?