entc/gen: add support for summing custom Go numeric types

This commit is contained in:
Ariel Mashraki
2021-06-25 15:24:35 +03:00
committed by Ariel Mashraki
parent ee4fa653fd
commit c40ae45aee
33 changed files with 869 additions and 55 deletions

View File

@@ -52,7 +52,6 @@ func (fu *FileUpdate) SetNillableDeleted(b *bool) *FileUpdate {
// SetParentID sets the "parent_id" field.
func (fu *FileUpdate) SetParentID(i int) *FileUpdate {
fu.mutation.ResetParentID()
fu.mutation.SetParentID(i)
return fu
}
@@ -336,7 +335,6 @@ func (fuo *FileUpdateOne) SetNillableDeleted(b *bool) *FileUpdateOne {
// SetParentID sets the "parent_id" field.
func (fuo *FileUpdateOne) SetParentID(i int) *FileUpdateOne {
fuo.mutation.ResetParentID()
fuo.mutation.SetParentID(i)
return fuo
}