Skip to content

Commit

Permalink
Regenerate.
Browse files Browse the repository at this point in the history
  • Loading branch information
mentat committed Feb 22, 2024
1 parent 9ada2e2 commit c839ad5
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ import (
"github.com/99designs/gqlgen/plugin/federation/testdata/explicitrequires/generated/model"
)

// PopulatePlanetRequiresNestedRequires is the requires populator for the PlanetRequiresNested entity.
func (ec *executionContext) PopulatePlanetRequiresNestedRequires(ctx context.Context, entity *model.PlanetRequiresNested, reps map[string]interface{}) error {
entity.Name = reps["name"].(string)
entity.World = &model.World{
Foo: reps["world"].(map[string]interface{})["foo"].(string),
}
return nil
}

// PopulateMultiHelloMultipleRequiresRequires is the requires populator for the MultiHelloMultipleRequires entity.
func (ec *executionContext) PopulateMultiHelloMultipleRequiresRequires(ctx context.Context, entity *model.MultiHelloMultipleRequires, reps map[string]interface{}) error {
panic(fmt.Errorf("not implemented: PopulateMultiHelloMultipleRequiresRequires"))
Expand All @@ -42,6 +33,15 @@ func (ec *executionContext) PopulatePlanetMultipleRequiresRequires(ctx context.C
return nil
}

// PopulatePlanetRequiresNestedRequires is the requires populator for the PlanetRequiresNested entity.
func (ec *executionContext) PopulatePlanetRequiresNestedRequires(ctx context.Context, entity *model.PlanetRequiresNested, reps map[string]interface{}) error {
entity.Name = reps["name"].(string)
entity.World = &model.World{
Foo: reps["world"].(map[string]interface{})["foo"].(string),
}
return nil
}

// PopulatePlanetRequiresRequires is the requires populator for the PlanetRequires entity.
func (ec *executionContext) PopulatePlanetRequiresRequires(ctx context.Context, entity *model.PlanetRequires, reps map[string]interface{}) error {
diameter, _ := reps["diameter"].(json.Number).Int64()
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c839ad5

Please sign in to comment.