mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 03:51:36 +03:00
2524d64687
## Summary This Pull Request introduces a custom validator for checking forbidden words in workspaces and refines how exceptions are handled within the workspace module. - Introduced `ForbiddenWords` custom class validator for validating forbidden words against specific fields in `UpdateWorkspaceInput`. - Added `EnvironmentService` usage in `WorkspaceService` to check default subdomains. - New file `workspaceGraphqlApiExceptionHandler` to handle GraphQL API exceptions with specific error mappings. - Expanded `WorkspaceExceptionCode` with `SUBDOMAIN_ALREADY_TAKEN`. - Added new unit tests for validating forbidden words and exception handler behavior. |
||
---|---|---|
.. | ||
twenty-chrome-extension | ||
twenty-docker | ||
twenty-e2e-testing | ||
twenty-emails | ||
twenty-front | ||
twenty-server | ||
twenty-tinybird | ||
twenty-ui | ||
twenty-utils | ||
twenty-website | ||
twenty-zapier |