// ResetEdge resets all changes to the edge with the given name in this mutation.
// It returns an error if the edge is not defined in the schema.
ResetEdge resets all changes to the edge with the given name in this mutation.
It returns an error if the edge is not defined in the schema.
// ResetEdge resets all changes to the edge with the given name in this mutation . // It returns an error if the edge is not defined in the schema .
func (m *FactTypeMutation) ResetEdge(name string) error {
	switch name {
	case facttype.EdgeFacts:
		m.ResetFacts()
		return nil
	}
	return fmt.Errorf("unknown FactType edge %s", name)
}
func ( m * FactTypeMutation ) ResetEdge ( name string ) error { switch name { case facttype . EdgeFacts : m . ResetFacts ( ) return nil } return fmt . Errorf ( " " , name ) }
ResetEdge resets all changes to the edge with the given name in this mutation.
ResetEdge resets all changes to the edge with the given name in this mutation .