Using a shared helper method to streamline the generated code
Publish PHP Package / docker (push) Successful in 6s
Details
Publish PHP Package / docker (push) Successful in 6s
Details
This commit is contained in:
parent
80cbb22dfc
commit
53661e92cb
|
@ -1,3 +1,6 @@
|
|||
## v7.1.0
|
||||
- Using a shared helper method to streamline the generated code
|
||||
|
||||
## v7.0.0
|
||||
- Using a dedicated wrapper for i18n strings to streamline the generated code
|
||||
|
||||
|
|
|
@ -319,14 +319,7 @@ base.SyncFields(ctx);
|
|||
int fields_amount = {{fields_count(o)}};
|
||||
var primary_id_mask = FieldsMask.MakeClean(fields_amount);
|
||||
SetPrimaryFieldsChanged(ref primary_id_mask);
|
||||
for(int i = 0; i < fields_amount; i++)
|
||||
{
|
||||
bool is_primary_id = primary_id_mask.IsDirty(i);
|
||||
if(!is_primary_id && fields_mask.IsDirty(i))
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return FieldsMask.CheckContentsChanged(fields_amount, ref primary_id_mask, ref fields_mask);
|
||||
}
|
||||
|
||||
public void SetDirtyMask()
|
||||
|
|
Loading…
Reference in New Issue