Replies: 3 comments 1 reply
-
I don't think so. DbPrimary used to have a dependency on avaje-config and still does have a dependency on avaje-config ... so this hasn't changed. Why do you think there was not previously a dependency on avaje-config? What am I missing here? Background:
Well, historically ebean has always had the ability to "just work" using properties configuration and not programmatic configuration. In that sense there is potentially 18 years worth of applications out there that can work this way. In my opinion this is not the popular / expected way to do things in 2024 in that programmatic configuration (like Spring |
Beta Was this translation helpful? Give feedback.
-
Is there a specific motivation for doing this [apart from just being more lean / lightweight]? I wonder because there is at least one case where we desire dynamic configuration which is around L2 cache regions - these can be enabled and disabled dynamically (so we have some desire for dynamic configuration). Hmm. |
Beta Was this translation helpful? Give feedback.
-
Yes, DbPrimary uses the I know that In the default constructor of For example, the implementation of |
Beta Was this translation helpful? Give feedback.
-
803f1d8#diff-1d0bfbaa32a91bd0087f12efd057327390065a04460f7771c0fd082dd7909c68
Avaje configuration has become a mandatory dependency of the project in this modification. Can the logic be refactored to make avaje configuration an optional dependency.
Great, thank you very much. Looking forward to your reply.
Beta Was this translation helpful? Give feedback.
All reactions