[BREAKING_CHANGE/GRAPHQL/OBJECT_METADATA_CREATE_ONE] Remove object/fields/view-fields v1 implementation (#15823)

# Introduction
Remove the v2 feature flag for view-field field-metadata and
object-metadata metadata entities

## Some details
- Disabled nestjs-query for object metadata creation and explicitly
calling it
- removed all v1 integration tests files

## Remarks
Not remove v2 referencing in both filenaming right now will handle that
globally later

## Breaking change
Due to object metadata resolver createOne standardization had to rename
the input from `CreateObjectInput` to `CreateOneObjectInput`
This commit is contained in:
Paul Rastoin
2025-11-17 10:55:19 +01:00
committed by GitHub
parent c1dcda6475
commit a39efeb1ab
75 changed files with 425 additions and 15441 deletions
@@ -219,7 +219,7 @@ export class ApplicationSyncService {
);
for (const fieldToDelete of fieldsToDelete) {
await this.fieldMetadataServiceV2.updateOne({
await this.fieldMetadataServiceV2.updateOneField({
updateFieldInput: {
id: fieldToDelete.id,
isActive: false,
@@ -256,7 +256,7 @@ export class ApplicationSyncService {
isNullable: fieldToSync.isNullable ?? true,
};
await this.fieldMetadataServiceV2.updateOne({
await this.fieldMetadataServiceV2.updateOneField({
updateFieldInput,
workspaceId,
});
@@ -281,7 +281,7 @@ export class ApplicationSyncService {
workspaceId,
};
await this.fieldMetadataServiceV2.createOne({
await this.fieldMetadataServiceV2.createOneField({
createFieldInput,
workspaceId,
});
@@ -341,7 +341,7 @@ export class ApplicationSyncService {
);
for (const objectToDelete of objectsToDelete) {
await this.objectMetadataServiceV2.deleteOne({
await this.objectMetadataServiceV2.deleteOneObject({
deleteObjectInput: { id: objectToDelete.id },
workspaceId,
isSystemBuild: true,
@@ -372,7 +372,7 @@ export class ApplicationSyncService {
},
};
await this.objectMetadataServiceV2.updateOne({
await this.objectMetadataServiceV2.updateOneObject({
updateObjectInput,
workspaceId,
});
@@ -404,7 +404,7 @@ export class ApplicationSyncService {
applicationId,
};
const createdObject = await this.objectMetadataServiceV2.createOne({
const createdObject = await this.objectMetadataServiceV2.createOneObject({
createObjectInput,
workspaceId,
});