sergio-milu

Results 16 comments of sergio-milu

same issue here with NextJS 13.5.2, we are running out of memory in a docker with 1 GB of ram (usually ram usage is between 10%-20%)

any update on this? I'm having same issue, also with NextJS 13.5 @gregberge

I'm having the same issue with jest and PGLite (with typeorm driver). If i run all tests in parallel, I'm getting tons of errors (timeous, weird things), but running all...

> What the `__nominal__type` type is? oh yes sorry, forgot to copy it `declare const __nominal__type: unique symbol;` but this doesnt seem to be a issue only with this example,...

> It seems actually nonsense type. Is there any reason why adding the `__nominal_type__` in the DTO? > > Is it required for client develoers? nop, is client-side we translate...

I changed my 'branded' types to this ``` export enum TestType { __brand = 'Test', } export type TestID = string & TestType; ``` and seems that this works, thanks!

> I changed my 'branded' types to this > > ``` > export enum TestType { > __brand = 'Test', > } > > export type TestID = string &...

> Make the property type to be optional. It is the only one way at now. > > If you do not want it, consider and suggest me how to...

> I think it would better to change your type. Your case seems too domestic and occurs hard coding. thing is that if I change my type I'll break the...

> ```ts > type MyNumber = number & { > __brand__?: Something; > } > ``` > > If not like above, then no way to validate. > > In...