// Fields returns all fields that were changed during this mutation. Note that in
// order to get all numeric fields that were incremented/decremented, call
// AddedFields().
Fields returns all fields that were changed during this mutation. Note that in
order to get all numeric fields that were incremented/decremented, call
AddedFields().
// Fields returns all fields that were changed during this mutation . Note that in // order to get all numeric fields that were incremented / decremented call // AddedFields () .
func (m *FactTypeMutation) Fields() []string {
	fields := make([]string, 0, 6)
	if m.created_at != nil {
		fields = append(fields, facttype.FieldCreatedAt)
	}
	if m.updated_at != nil {
		fields = append(fields, facttype.FieldUpdatedAt)
	}
	if m.deleted_at != nil {
		fields = append(fields, facttype.FieldDeletedAt)
	}
	if m.slug != nil {
		fields = append(fields, facttype.FieldSlug)
	}
	if m.built_in != nil {
		fields = append(fields, facttype.FieldBuiltIn)
	}
	if m.validation != nil {
		fields = append(fields, facttype.FieldValidation)
	}
	return fields
}
func ( m * FactTypeMutation ) Fields ( ) [ ] string { fields := make ( [ ] string , 0 , 6 ) if m . created_at != nil { fields = append ( fields , facttype . FieldCreatedAt ) } if m . updated_at != nil { fields = append ( fields , facttype . FieldUpdatedAt ) } if m . deleted_at != nil { fields = append ( fields , facttype . FieldDeletedAt ) } if m . slug != nil { fields = append ( fields , facttype . FieldSlug ) } if m . built_in != nil { fields = append ( fields , facttype . FieldBuiltIn ) } if m . validation != nil { fields = append ( fields , facttype . FieldValidation ) } return fields }
Fields returns all fields that were changed during this mutation.
Fields returns all fields that were changed during this mutation .