Comments (2)
Makes sense, as there is no way to fail fast currently. This can actually be added to all annotations. Let me plan this for next release. Thank you for raising this issue!
from easy-props.
@ashtttt I added the ability to fail fast by throwing an exception if an environment variable is not set:
class Bean {
@EnvironmentVariable(value = "absent", failFast = true)
private String absentValue;
}
You can try it already with v3.1.0-SNAPSHOT.
Thank you for raising this issue!
from easy-props.
Related Issues (19)
- Allow to register custom type converters HOT 2
- Publish last version of code in maven central HOT 3
- Unable to load properties file in a web application
- Environment variables should not be logged HOT 1
- Ability to define order of execution of annotation processors HOT 6
- Database properties should not be logged
- System properties should not be logged
- Add support for default values in all annotations
- FindBugs : Nonconstant string passed to execute method on an SQL statement HOT 1
- Upgrade minimum Java version to 11 HOT 1
- TypeConverter interface should be moved to org.jeasy.props.api package HOT 1
- Introduce TypeConversionException in TypeConverter API HOT 1
- Replace JUL with SLF4J HOT 1
- Prefix db properties with org.jeasy.props HOT 1
- Empty values interrupt injection (PropertyAnnotationProcessor) HOT 2
- configuration through Consul feature request HOT 9
- The JMX object name prefix is incorrect
- Add ability to inject properties in private classes HOT 4
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 easy-props.