-
-
Notifications
You must be signed in to change notification settings - Fork 748
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for variables to new operation planner. (#7780)
- Loading branch information
1 parent
133a3c0
commit 9cf6ea1
Showing
17 changed files
with
688 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/HotChocolate/Fusion-vnext/src/Fusion.Execution/Planning/Nodes/OutputFieldInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System.Collections.Immutable; | ||
using HotChocolate.Fusion.Types; | ||
|
||
namespace HotChocolate.Fusion.Planning.Nodes; | ||
|
||
public class OutputFieldInfo(string name, ICompositeType type, ImmutableArray<string> sources) | ||
{ | ||
public OutputFieldInfo(CompositeOutputField field) | ||
: this(field.Name, field.Type, field.Sources.Schemas) | ||
{ | ||
|
||
} | ||
|
||
public string Name => name; | ||
|
||
public ICompositeType Type => type; | ||
|
||
public ImmutableArray<string> Sources => sources; | ||
} |
Oops, something went wrong.