Currently, the entities generated from the autoentities feature are added after the validation for the RuntimeConfig is done. This needs to be changed since we need to validate that the new generated entities are validated with the entities that already exist. In order to do this, we need to move only the validation of the entities so that it occurs after the autoentities are generated. We cannot move all the validation after the autoentities are generated because some of the validation is needed for the connection to the database.
Currently, the entities generated from the autoentities feature are added after the validation for the RuntimeConfig is done. This needs to be changed since we need to validate that the new generated entities are validated with the entities that already exist. In order to do this, we need to move only the validation of the entities so that it occurs after the autoentities are generated. We cannot move all the validation after the autoentities are generated because some of the validation is needed for the connection to the database.