Skip to content

Commit

Permalink
Update planner.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjohnsonpint committed Oct 23, 2024
1 parent e01dfef commit b7006d4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions runtime/graphql/datasource/planner.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import (
)

type HypDSPlanner struct {
id int
ctx context.Context
config HypDSConfig
visitor *plan.Visitor
Expand Down Expand Up @@ -52,6 +53,14 @@ func (t *fieldInfo) AliasOrName() string {
return t.Name
}

func (p *HypDSPlanner) SetID(id int) {
p.id = id
}

func (p *HypDSPlanner) ID() (id int) {
return p.id
}

func (p *HypDSPlanner) UpstreamSchema(dataSourceConfig plan.DataSourceConfiguration[HypDSConfig]) (*ast.Document, bool) {
return nil, false
}
Expand Down

0 comments on commit b7006d4

Please sign in to comment.