Thomas Aribart
Thomas Aribart
I just added a new commit to enable typed defaults computing. The API is something like: ```typescript import { item, string, ComputedDefault } from 'v2/attributes' const myItem = item({ optProp:...
@jeremydaly Having a lot a fun here :) Just added a third commit to add a `savedAs` option on attributes and a `SavedAs` utility type to infer the type of...
@jeremydaly I've updated the branch destination, added JS Docs to (most) constants and changed the folder name to v1 :) The tests seem to fail, I have no idea why,...
@jeremydaly @naorpeled Okay I had to upgrade TS to 4.3.0 for some reason 🤷♂️ (probably a bug in earlier versions), but tests are alright now ! We had a long...
@jeremydaly @gabrielcolson I started working on this, check out https://github.com/jeremydaly/dynamodb-toolbox/pull/305/files
Hi @ffxsam and thanks for the issue. Everything seems fine on `json-schema-to-ts` side. It's the combination of Sentry and `FromSchema` that seems to generate too many type computations 🤔 I...
`S` is supposed to be the type of your schema, defined with the `as const` statement: ```typescript import { schema } from './schema' type S = typeof schema ```
@daffl @psznm @ffxsam @ericvicenti Indeed, it seems like the variance annotation helps a bit. The smallest example you provided is fixed by declaring `S` as `invariant` (i.e. with both `in`...
Hi @Yoctoboy and thanks for the issue 👍 Adding a Table dynamically is an issue as type inference is necessarily static ^^ The best way to get around your issue...