You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the RelationUpdateManyWithoutSourceInput dto we have now only connect, we want to add disconnect and set too.
Use case
//------------------------------------------------------------------------------
// This code was generated by Amplication.
//
// Changes to this file will be lost if the code is regenerated.
//
// There are other ways to to customize your code, see this doc to learn more
// https://docs.amplication.com/docs/how-to/custom-code
//
//------------------------------------------------------------------------------
*/
import { InputType, Field } from "@nestjs/graphql";
import { UserWhereUniqueInput } from "../../user/base/UserWhereUniqueInput";
import { ApiProperty } from "@nestjs/swagger";
@InputType()
class UserUpdateManyWithoutOrganizationsInput {
@Field(() => [UserWhereUniqueInput], {
nullable: true,
})
@ApiProperty({
required: false,
type: () => [UserWhereUniqueInput],
})
connect?: Array<UserWhereUniqueInput>;
@Field(() => [UserWhereUniqueInput], {
nullable: true,
})
@ApiProperty({
required: false,
type: () => [UserWhereUniqueInput],
})
set?: Array<UserWhereUniqueInput>;
@Field(() => [UserWhereUniqueInput], {
nullable: true,
})
@ApiProperty({
required: false,
type: () => [UserWhereUniqueInput],
})
disconnect?: Array<UserWhereUniqueInput>;
}
export { UserUpdateManyWithoutOrganizationsInput };
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Feature description
In the RelationUpdateManyWithoutSourceInput dto we have now only connect, we want to add disconnect and set too.
Use case
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: