schema/edge: allow setting immutable edges (#2876)

This commit is contained in:
Ariel Mashraki
2022-08-20 19:10:16 +03:00
committed by GitHub
parent 461ab4a3e4
commit b18ca9ca6f
44 changed files with 107 additions and 889 deletions

View File

@@ -423,8 +423,6 @@ func (m *CarMutation) RemovedEdges() []string {
// RemovedIDs returns all IDs (to other nodes) that were removed for the edge with
// the given name in this mutation.
func (m *CarMutation) RemovedIDs(name string) []ent.Value {
switch name {
}
return nil
}