Comments (2)
Please vote for spring-projects/spring-boot#31337 as it would avoid the boilerplate that you're talking about. 3 lines of code doesn't sound too bad to me (straight from the reference guide, so easy to find).
We shouldn't introduce additional high-level concepts in the core framework just so that the above can be written in one line instead of 3.
from spring-framework.
sure, thanks for your prompt answer! I agree it would be nicer to have an @enable... annotation. I've subscribed to spring-projects/spring-boot#31337
from spring-framework.
Related Issues (20)
- Ignore non-String keys in `PropertiesPropertySource.getPropertyNames()` HOT 1
- `AnnotationConfigWebApplicationContext` should propagate `ApplicationStartup` to `BeanFactory`
- `AnnotationConfigWebApplicationContext` should propagate `ApplicationStartup` to `BeanFactory` HOT 1
- `AnnotationConfigWebApplicationContext` should propagate `ApplicationStartup` to `BeanFactory` HOT 1
- Introduce NoOp implementation for ResponseErrorHandler
- `MergedAnnotations` search does not find container for repeatable annotation HOT 1
- `MergedAnnotations` search does not find container for repeatable annotation HOT 1
- BindingReflectionHintsRegistrar#registerReflectionHints can be invoked with a null type HOT 1
- `MediaTypeAssert` risk false negative with `isNotEqual` assertion HOT 2
- Provide methods to unambiguously send form data with MockMvc
- Exclude static resources in InterceptorRegistration in Spring MVC HOT 2
- `@TestBean` and real bean instance cannot coexist HOT 3
- `@TestBean` can not use a custom name HOT 4
- Bean overriding in tests should use by-type semantic if no name is specified HOT 7
- Broken "Try This Tutorial" link on the https://spring.io/cloud page HOT 1
- DeferredQueryInvocationHandler fails to unwrap QuerySqmImpl class outside of transaction HOT 4
- Modernize the lazy-initialized beans refdoc section
- Introduce a new "@ResponseHeaders" Annotation for Controller Endpoints HOT 1
- DeferredQueryInvocationHandler fails to unwrap QuerySqmImpl class outside of transaction HOT 1
- DeferredQueryInvocationHandler fails to unwrap QuerySqmImpl class outside of transaction HOT 1
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-framework.