Łukasz Gosławski

Results 9 comments of Łukasz Gosławski

Getting type from schema is what this package is made for. I can't see reason for setting custom type for created schema. But you can overwrite it by setting it...

Following seems to be working: ```ts Type.array({ required: true }).of(Type.array({ required: true }).of(Type.string())), ``` Also this: ```ts Type.array().of(Type.array().of(Type.string())), ``` What type is returned for `data`?

@zfattuhi-sonalake Have you tried using ```{ _id : false }``` option? Like following: ```ts import { createSchema, Type, ExtractProps } from 'ts-mongoose'; const UserSchema = createSchema({ _id: Type.string(), }, {...

Could you provide a use case for such refernece?

> Would be the node_modules folder's Typescript version doesn't match the Ide Typescript Version? That would be my first guess. Have you fixed it somehow on your side?

For now our package is not supporting such way of providing required option. But you can try: ```ts required: [true, 'Email address is required'] as unknown as true ``` That...

Feel free to support it with your pull requests.

Same problem here, even if npm dependency source changed to github.

Problem still exists. You can reproduce it with newest version of wepack+angular pack: [https://github.com/preboot/angular2-webpack](url)