code: func ExecuteActionsByOldNew(ctx context.Context, db application.DB, userID uuid.UUID, oldContext change.Detector, newContext change.Detector, actionConfigList map[string]string) (change.Detector, change.Set, error) {
  	if oldContext == nil || newContext == nil {
  		return nil, nil, errs.New("execute actions called with nil entities")
  	}
  	contextChanges, err := oldContext.ChangeSet(newContext)
  	if err != nil {
  		return nil, nil, err
  	}
  	return ExecuteActionsByChangeset(ctx, db, userID, newContext, contextChanges, actionConfigList)
  }
docs: // ExecuteActionsByOldNew executes all actions given in the actionConfigList
  // using the mapped configuration strings and returns the new context entity.
  // It takes the old version and the new version of the context entity, comparing them.