Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix object/map field stitching #447

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ In previous releases, the name "Hypermode" was used for all three._
- Change default for environment setting [#439](https://github.com/hypermodeinc/modus/pull/439)
- Remove compatibility code for previous versions [#441](https://github.com/hypermodeinc/modus/pull/441)
- Target Node 22 [#446](https://github.com/hypermodeinc/modus/pull/446)
- Fix object/map field stitching [#447](https://github.com/hypermodeinc/modus/pull/447)

## 2024-10-02 - Version 0.12.7

Expand Down
2 changes: 1 addition & 1 deletion runtime/graphql/datasource/planner.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ func (p *HypDSPlanner) stitchFields(f *fieldInfo) {
f.Fields = make([]fieldInfo, len(f.fieldRefs))
for i, ref := range f.fieldRefs {
field := p.fields[ref]
f.Fields[i] = field
p.stitchFields(&field)
f.Fields[i] = field
}
}

Expand Down
Loading