漓江丽火

Results 81 comments of 漓江丽火

~~> Hm, interesting idea - so `autowire` would generate a description, of how the injection should be done. And then at run-time, we can pick the appropriate effect.~~ ~~Just a...

~~> Hm, interesting idea - so `autowire` would generate a description, of how the injection should be done. And then at run-time, we can pick the appropriate effect.~~ ~~We just...

~~In `EffectInjection`, the effect value we can point `A` in `F[A]` to an abstraction.~~ ```scala // trait EffectValue[A] // case class RigthEffectValue[F[_], A](val effectValue: F[A]) extends EffectValue[A] // case class...

~~Yes, `distage` just can do each `effect` target to each ast and use each `match case` to execute the ast. It can't make all the ast to do the same...

~~Change the code above.~~ ~~From~~ ```scala // case class FunctionInjection(val func: List[Injection] => Injection, val input: List[Injection]) extends Injection ``` ~~to~~ ```scala // case class FunctionInjection(val func: List[Any] => Injection,...

~~Change the code above~~ ~~From~~ ```scala // case class FunctionInjection(val func: List[Any] => Injection, val input: List[Injection]) extends Injection ``` ~~to~~ ```scala // case class FunctionInjection(val func: Any => Injection,...

@adamw Wrong, I think all is wrong. In fact, injection have two parts. 1 is resources, and our app is just dept on `part 1` and to be `part 2`....

``` cmd npm install iohook --save npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may...

+1 for future, now I have to write a simple DynamicResourceHandler for use. Hope for the future implement.

That's great! Actually when the action access the request it will fetch the role and permissions first, why not do it in one space? And I think we must keep...