GraphQL API and utilities for the rpdata project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
package types
import ( "context"
"git.aiterp.net/rpdata/api/graph2/input" "git.aiterp.net/rpdata/api/models" )
type changeResolver struct{}
func (r *changeResolver) Objects(ctx context.Context, obj *models.Change) ([]input.ChangeObject, error) { objects := obj.Objects()
results := make([]input.ChangeObject, len(objects)) for i := range objects { results[i] = objects[i] }
return results, nil }
// ChangeResolver is a resolver
var ChangeResolver changeResolver
|