Compatibility with Poison 5.0 and/or other JSON decoders/encoders? #8372
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Currently the
google_gax
project depends onpoison >= 3.0.0 and < 5.0.0
. This means that we cannot use Poison 5.0 without overriding the version.elixir-google-api/clients/gax/lib/google_api/gax/connection.ex
Line 38 in 92bcdea
Would it be possible to check if poison 5.0 causes problems, and if not, loosen the version requirement to allow Poison 5.0?
Alternatively, would it be possible to remove this dependency (or mark as optional) and allow the user to configure a different JSON decoder/encoder, like e.g. Jason? Tesla is configurable so it should be rather easy. In fact I think some of the clients already use Jason because it's the default in Tesla, e.g. here:
elixir-google-api/clients/task_queue/lib/google_api/task_queue/v1beta2/connection.ex
Line 29 in 92bcdea
The text was updated successfully, but these errors were encountered: