-
Notifications
You must be signed in to change notification settings - Fork 2
Description
From @johnament on December 4, 2016 13:30
Feign is an amazing library for working with type safe REST clients. It simplifies a lot of day to day development work being able to leverage the client.
CDI is a dependency injection tool. While a user can define producer methods there is still the boilerplate overhead that they may have to deal with.
I'd like to propose adding a CDI module, which will look for interfaces supporting Feign and provide injection points to CDI users to simply inject their clients. No additional development, all annotation based and configured as needed.
It should provide some kind of fallback to look for common builders for interfaces and leverage those whenever possible.
Copied from original issue: OpenFeign/feign#500