Tegral
Tegral copied to clipboard
🟣 A Kotlin framework for web applications, cool libraries that go along with it!
Tegral Featureful docs still include usage of `wrapIn`. Use something else instead.
Tegral DI's `noUnused` is fairly useless with Tegral Services. The current exclusion system should also have some form of `excludeIf { }` lambda that is a fully user-controlled predicate. This...
Example of an exception occurring because of an unsafe exception in the constructor of a component: ``` Caused by: java.lang.NullPointerException: Cannot invoke "java.util.Map.get(Object)" because the return value of "guru.zoroark.tegral.di.environment.MixedImmutableEnvironment.access$getComponents$p(guru.zoroark.tegral.di.environment.MixedImmutableEnvironment)" is...
If you wish to catch an exception if your application fails to start or stop when using `env.services.stopAll`/`startAll`, **catch `TegralServiceException`** and not `Exception`. This needs to be added in the...
Since the move to Netlify (#61), several things remain in the Tegralverse: - [ ] `vercel.json` file needs to be deleted - [ ] Delete workspace and configurations from Vercel
Hi to whoever will read this, long time no see! I'm back and am finally able to reveal some stuff I've been working on in the past months. ### Tegral...
The idea is to be able to define DI components as functions. This would unlock more advanced use cases, an obvious one being easier definition of simple web controllers and...
Currently: ```kotlin get("/hello") { respond(Greeting("You")) } describe { summary = "Greet someone" 200 response { json { schema(Greeting("Hi!")) } } } ``` I think it would be possible to implement...