Comments (5)
Reusing Spring Boot configuration classes in a functional way should be discussed with @wilkinsona.
from spring-fu.
As proposed by @wilkinsona, we should try to do like @dsyer did, ie using a BeanDefinitionRegistryPostProcessor
which is particularly interesting as it’s called after all of a user’s own configuration has been processed.
from spring-fu.
I think https://github.com/dsyer/spring-boot-auto-reflect approach could be interesting to try. We could maybe even generate automatically functional configurations based on Boot JavaConfig one as part of Spring Fu build process and not do that at runtime.
from spring-fu.
See also https://github.com/dsyer/spring-init-experiment.
from spring-fu.
There will be some upcoming polish and refactoring especially for conditions but Kofu configuration now leverages Spring Boot auto-configuration in a functional way. Thanks for your help @dsyer, @bclozel and @wilkinsona.
from spring-fu.
Related Issues (20)
- Upgrade to Spring Boot 2.4.4
- Rename master `branch` to `main`
- Upgrade to Spring Boot 2.5.1
- Ability to create endpoints/routes dynamically (IE and endpoint creating another endpoint at runtime)?
- enable function is protected HOT 1
- spring-boot-autoconfigure conflit HOT 1
- Cannot extend Kotlin DSL HOT 1
- Upgrade to Spring Boot 2.5.3
- CoroutineCrudRepository issue
- Spring Native compatibility HOT 1
- Is the project discontinued? HOT 4
- [question] is Spring Fu production ready? HOT 1
- Upgrade to Spring Boot 2.6
- Build uses jcenter() which is deprecated and will be removed in Gradle 8
- Spring Kofu 0.5.0 issue with Spring Native HOT 1
- Project timeline HOT 2
- Upgrade to Spring Boot 2.6.6
- R2dbc H2 does not work with Spring Boot 2.7 HOT 1
- Activate Autoconfiguration for certain external dependencies HOT 1
- Spring Boot 3.0.0 seems to break kofu HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-fu.