Fixes #5276. Updates were not triggering a cache version incrementation because they do not trigger migrations while that is where the caching version logic was. We have decided to move the cache incrementation logic to the services.
14 lines
371 B
TypeScript
14 lines
371 B
TypeScript
import { InputType } from '@nestjs/graphql';
|
|
|
|
import { IDField } from '@ptc-org/nestjs-query-graphql';
|
|
|
|
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
|
|
|
|
@InputType()
|
|
export class DeleteOneRelationInput {
|
|
@IDField(() => UUIDScalarType, {
|
|
description: 'The id of the relation to delete.',
|
|
})
|
|
id!: string;
|
|
}
|