Detect in the beforeUpdate what relations still been selected

System Information
  • Strapi Version: 4.6.1
  • Operating System: MacOS
  • Database: SQL
  • Node Version: 18
  • NPM Version: 9.5.1
  • Yarn Version:

I have a main entity that support a relation field with other entity.
If have two selected relations, and delete one of this, in the beforeUpdate lifecycle the relations that still selected doesn’t appears as connected relation. Is it a bug or there is some other way in order to keep a solid validations of required relation fields?

Thanks!