TwentyT
Twenty14mo ago
2 replies
anjali

SoftDelete Issue

Hi @charles We recently updated our codebase from version 23.0 to 24.1 and followed the upgrade process outlined in the guide. After running the commands
yarn database:migrate:prod
yarn command:prod upgrade-0.24,
we noticed an issue: the isSoftDeletable field in objectMetadata is set to null instead of true or false. As a result, the soft delete functionality is not working in our project.

For the FindCompany query, the deletedAt field is showing an error: "Cannot query field "deletedAt" on type "Company". Did you mean "createdAt" or "updatedAt"?" Could this issue be resolved by syncing the schema ?
Screenshot_from_2024-12-10_17-57-30.png
Screenshot_from_2024-12-10_18-07-34.png
Was this page helpful?