-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
File create by prisma-nestjs-graphql
:
@InputType()
export class business_usersWhereInput {
@Field(() => [business_usersWhereInput], {nullable:true})
AND?: Array<business_usersWhereInput>;
@Field(() => [business_usersWhereInput], {nullable:true})
OR?: Array<business_usersWhereInput>;
@Field(() => [business_usersWhereInput], {nullable:true})
NOT?: Array<business_usersWhereInput>;
@Field(() => IntFilter, {nullable:true})
id?: IntFilter;
@Field(() => IntFilter, {nullable:true})
business_id?: IntFilter;
@Field(() => StringFilter, {nullable:true})
email?: StringFilter;
@Field(() => StringFilter, {nullable:true})
password?: StringFilter;
@Field(() => StringFilter, {nullable:true})
first_name?: StringFilter;
@Field(() => StringFilter, {nullable:true})
last_name?: StringFilter;
}
For the same table, file created by prisma-client-js
:
export type business_usersWhereInput = {
AND?: Enumerable<business_usersWhereInput>
OR?: Enumerable<business_usersWhereInput>
NOT?: Enumerable<business_usersWhereInput>
id?: IntFilter | number
business_id?: IntFilter | number
email?: StringFilter | string
password?: StringFilter | string
first_name?: StringFilter | string
last_name?: StringFilter | string
}
How can I add 2 types (StringFilter | string) in the file generated by prisma-nestjs-graphql
?
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested