Skip to content

Activate Autoconfiguration for certain external dependencies #391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
BeneStem opened this issue Jul 23, 2022 · 1 comment
Closed

Activate Autoconfiguration for certain external dependencies #391

BeneStem opened this issue Jul 23, 2022 · 1 comment
Labels
type: question A question

Comments

@BeneStem
Copy link

BeneStem commented Jul 23, 2022

Hey there spring-fu Team,

first of all thank you very much for this great project.

I am using it very successfully in an exploration on how to make DDD projects better with functional design.

But now I started to integrate more infrastructure like actuator, metrics, and such.

Actuator support is not here yet, I found the related issue.

But how about external dependencies like springdocs?

I am trying to activate the swagger-ui but to my knowledge there is no way of activating a lot of @Beans from an external dependency automatically.

Can you elaborate on that? Am I missing sth?

You will find a related issue here springdoc/springdoc-openapi#891 (comment).

Thank you very much!

@sdeleuze sdeleuze added the type: question A question label Aug 8, 2022
@sdeleuze
Copy link
Collaborator

sdeleuze commented Aug 8, 2022

Hi, for now there is no way to do it automatically so you will have to register each bean potentially using the autoconfig methods annotated with @Bean like we do in https://github.com/spring-projects-experimental/spring-fu/tree/main/autoconfigure-adapter/src/main/java/org/springframework/boot/autoconfigure.

@sdeleuze sdeleuze closed this as completed Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question A question
Projects
None yet
Development

No branches or pull requests

2 participants