Roman Vasilev

Results 164 comments of Roman Vasilev

Are you able to create files/directories by node.js in docker? Check in docker: node fs.writeFileSync('foo.txt', '') fs.mkdirSync('bar') It is hard to say what is the problem (error is very general),...

How are seeing this? Could you provide an example?

Ok, got it. But meaning of this field in *whereinput class is different. This is like search condition, not the value. If you are introspecting schema, why you cant take...

I can suggest generate comments for inputs by following way: It will be configuration setting ``` inputFieldDescription = "Filter {model.name} for {fied.name}" ``` It may generate class like: ```ts @InputType()...

> I can suggest generate comments for inputs by following way: It will be configuration setting > > ``` > inputFieldDescription = "Filter {model.name} for {fied.name}" > ``` > >...

If you are adding new field which is not in prisma schema, I think it's better to generate abstract object https://github.com/unlight/prisma-nestjs-graphql#objecttype, than inherit it and add your additional fields, see...

I think it has too dynamic nature. ``` @Field({ middleware: [checkRoleMiddleware] }) @Extensions({ role: Role.ADMIN }) password: string; ``` We need to import `Role`, `checkRoleMiddleware`... I would make model as...

@asanovr Check https://github.com/unlight/prisma-nestjs-graphql#objecttype

What are trying to achive? Avoid relative path import hell?