#SoftDelete Issue

1 messages · Page 1 of 1 (latest)

woven hawk
#

Hi @stuck barn 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 ?

modern oxide
#

Hey, @woven hawk I remember this being an issue in the past. You might want to follow the upgrade guide and get past 34.0 where most of these issues subside.