package graph // This file is hand-written and is never regenerated by gqlgen — it is not // named after a schema file, so `gqlgen generate` leaves it alone. // ptrs turns []T into []*T for gqlgen. Loading into []*T directly would // change the SQL GORM emits. func ptrs[T any](xs []T) []*T { result := make([]*T, len(xs)) for i := range xs { result[i] = &xs[i] } return result }