System Information
- Strapi Version: 3.3.4
- Operating System: MacOS
- Database: MongoDB
- Node Version: 14.15.1
- NPM Version:
- Yarn Version: 1.22.10
Like the title says, I’m trying to figure out if there’s a way to check if a value has been modified in a lifecycle method. This would be to prevent infinite loops if I am updating the same model. I know that mongoose has an isModified
method, so I know it’s possible. I just can’t quite figure out how to do this within the Strapi ecosystem. Thanks!