Skip to content

Implement a Feign CDI Module #1

@codefromthecrypt

Description

@codefromthecrypt

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions