Thomas Aribart
Thomas Aribart
## 🐞 Bug Report #### Describe the bug The `Any.If` method is described in the documentation: https://millsp.github.io/ts-toolbelt/modules/any_if.html However, when I try to use it I get a `not exported` error....
## 🐞 Bug Report #### Describe the bug `A.Compute` results to `{}` instead of `unknown`. #### Reproduce the bug ```ts type test = A.Compute // => {} ``` #### Expected...
This is a proposal for a new way to define Entity attributes. Answers partially https://github.com/jeremydaly/dynamodb-toolbox/issues/303 I put the code in `src/v2`. This PR is not meant to be merged in...
To implement type inference in v0.4, I used the `as const` statement mainly to prevent breaking changes, but it makes the parsing of attributes quite complex and resource intensive. It's...
``` FooEntity.update({ dictionary: { $set: { 'field-with-dash': 'bar', }, }, }) ``` This update will fail as the update method will generate an ExpressionAttributeName containing `{ '#field-with-dash': 'field-with-dash' }` and...
This would allow custom type enforcing to all methods. ```typescript const cachedValue = cache.get(...) // => undefined | MyType cache.set(...) // => Invalid if value is not assignable to MyType...
 For the moment I have to do: ```typescript export const ApiGatewayDomainNameIdExport: CloudFormationOutput = { Condition: logicalId({ NotInDev }), ...ApiGatewayDomainNameIdContract.exportValue({ description: "Common Api Gateway...
**What version of Ajv you are you using?** NA **What problem do you want to solve?** In TS, it would be neat to make `ajv.validate` and `ajv.compile` outputs typeguards. I...