You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, the Configuration object should allow setting individual properties via the constructor. Whether these properties come from file or env vars or somewhere else, should be left to the client.
What do you guys think?
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to use this library inside a Spring Boot application.
Since Spring Boot packages the application resources in a certain way, it reads them differently (see https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/io/ClassPathResource.html). In contrast,
com.createsend.util.Configuration
usesjava.lang.ClassLoader
to load its config file and hence doesn't work in a bundled Spring Boot app.Ideally, the
Configuration
object should allow setting individual properties via the constructor. Whether these properties come from file or env vars or somewhere else, should be left to the client.What do you guys think?
The text was updated successfully, but these errors were encountered: