Fix unclear metadata validation errors (#20234)

https://github.com/user-attachments/assets/8f8f1122-3de1-4a9b-8bb4-a3c8d31e47ae

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Abdul Rahman
2026-05-05 23:48:05 +05:30
committed by GitHub
parent a03c2647cf
commit e0563377b5
70 changed files with 935 additions and 771 deletions
@@ -1,6 +1,7 @@
import { Test, type TestingModule } from '@nestjs/testing';
import { getRepositoryToken } from '@nestjs/typeorm';
import { msg } from '@lingui/core/macro';
import { type ObjectsPermissionsByRoleId } from 'twenty-shared/types';
import { type Repository } from 'typeorm';
@@ -755,7 +756,7 @@ describe('FieldPermissionService', () => {
{
code: PermissionsExceptionCode.ROLE_NOT_EDITABLE,
message: 'Role is not editable',
userFriendlyMessage: 'This role cannot be modified.',
userFriendlyMessage: msg`This role cannot be modified.`,
},
],
},