fogfish

Results 50 comments of fogfish

Thank you for raising this! Unfortunately, this is a limitation of JavaScript, anonymous/lambda function do not have `name` attribute https://github.com/fogfish/aws-cdk-pure/blob/master/pure/src/index.ts#L60 ```ts const MyFun = (): ddb.DynamoProps => ... pure.iaac(ddb.Dynamo)(MyFun) //...

Speaking only about this code: ```ts export function iaac(f: Node): (pure: IaaC, name?: string) => IPure { return (pure, name) => unit( (scope) => new f(scope, name || pure.name, pure(scope))...

Are you trying to make a construct that takes empty (aka default properties)? One idea, just make type `(pure: IaaC) => IPure` composable. ```ts const MyStack = cloud.iaac(Stack) pure.join(scope, MyStack)...

Could you please clarify your usage of "empty properties"? In my life with AWS CDK, I've never used 'em? I've always needs to defined for props to resources.

Thank for raising the issue! Indeed, this is current limitation. In order to overcome this limitation you can use ```js const app = new cdk.App() const config = { env:...

Exactly! The `root` is not needed at all. I do have same opinion. I think, I just deprecate it.

Thank you for hint! Indeed auto generation of wrappers would help a lot.

Hello, The cache support addition of multiple entires per key via `prepend` or `append` api. However, it does not really behave as Redis in this cases. It would apply eviction...

`cache:put(my_cache, x, 100, 120)` request 120 sec TTL but TTL cannot be longer than cache level TTL, which is 60 sec in your case. I think it is more issue...

Thank you for you input! I'll update the doc. Meanwhile: * Cache is sliced on X segments. * Cache applies eviction and quota policies at segment level. The oldest ETS...