Skip to content

Commit 970870a

Browse files
committed
Fix build error
1 parent 140b7fb commit 970870a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/Linq2GraphQL.Docs/Components/Samples/Interfaces/InterfaceQuery.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ private GraphQueryExecute<Node, Node> GetQuery()
99
{
1010
return starWarsClient
1111
.Query
12-
.Node("ZmlsbXM6MQ==")
12+
.Node(new ID { Value = "ZmlsbXM6MQ==" })
1313
.Include(e => e.Film())
1414
.Select();
1515
}

docs/Linq2GraphQL.Docs/Components/Samples/Queries/ProjectCustomObject.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ private GraphCursorQueryExecute<FilmsConnection, IEnumerable<FilmProjection>> Ge
1717

1818
public class FilmProjection
1919
{
20-
public string Id { get; set; }
20+
public ID Id { get; set; }
2121
public string Title { get; set; }
2222
public string Created { get; set; }
2323
public List<string> Producers { get; set; }

0 commit comments

Comments
 (0)