Skip to content

Commit debcfd3

Browse files
committed
2 parents b3fbd00 + 8d809b7 commit debcfd3

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ EfGraphQLConventions.RegisterInContainer<MyDbContext>(
3232
serviceCollection,
3333
model: ModelBuilder.GetInstance());
3434
```
35-
<sup><a href='/src/Snippets/Configuration.cs#L20-L24' title='Snippet source file'>snippet source</a> | <a href='#snippet-registerincontainer-1' title='Start of snippet'>anchor</a></sup>
35+
<sup><a href='/src/Snippets/Configuration.cs#L18-L22' title='Snippet source file'>snippet source</a> | <a href='#snippet-registerincontainer-1' title='Start of snippet'>anchor</a></sup>
3636
<!-- endSnippet -->
3737

3838

@@ -59,7 +59,7 @@ static class ModelBuilder
5959
}
6060
}
6161
```
62-
<sup><a href='/src/Snippets/Configuration.cs#L5-L16' title='Snippet source file'>snippet source</a> | <a href='#snippet-modelbuilder' title='Start of snippet'>anchor</a></sup>
62+
<sup><a href='/src/Snippets/Configuration.cs#L3-L14' title='Snippet source file'>snippet source</a> | <a href='#snippet-modelbuilder' title='Start of snippet'>anchor</a></sup>
6363
<!-- endSnippet -->
6464

6565

@@ -132,7 +132,7 @@ EfGraphQLConventions.RegisterInContainer<MyDbContext>(
132132
serviceCollection,
133133
model: ModelBuilder.GetInstance());
134134
```
135-
<sup><a href='/src/Snippets/Configuration.cs#L20-L24' title='Snippet source file'>snippet source</a> | <a href='#snippet-registerincontainer-1' title='Start of snippet'>anchor</a></sup>
135+
<sup><a href='/src/Snippets/Configuration.cs#L18-L22' title='Snippet source file'>snippet source</a> | <a href='#snippet-registerincontainer-1' title='Start of snippet'>anchor</a></sup>
136136
<!-- endSnippet -->
137137

138138
Then the `IEfGraphQLService` can be resolved via [dependency injection in GraphQL.net](https://graphql-dotnet.github.io/docs/guides/advanced#dependency-injection) to be used in `ObjectGraphType`s when adding query fields.
@@ -298,7 +298,7 @@ public class GraphQlController :
298298
}
299299
}
300300
```
301-
<sup><a href='/src/SampleWeb/GraphQlController.cs#L6-L71' title='Snippet source file'>snippet source</a> | <a href='#snippet-graphqlcontroller' title='Start of snippet'>anchor</a></sup>
301+
<sup><a href='/src/SampleWeb/GraphQlController.cs#L5-L70' title='Snippet source file'>snippet source</a> | <a href='#snippet-graphqlcontroller' title='Start of snippet'>anchor</a></sup>
302302
<!-- endSnippet -->
303303

304304

@@ -615,7 +615,7 @@ query {
615615
}
616616
}
617617
```
618-
<sup><a href='/src/SampleWeb.Tests/GraphQlControllerTests.cs#L7-L194' title='Snippet source file'>snippet source</a> | <a href='#snippet-graphqlcontrollertests' title='Start of snippet'>anchor</a></sup>
618+
<sup><a href='/src/SampleWeb.Tests/GraphQlControllerTests.cs#L4-L191' title='Snippet source file'>snippet source</a> | <a href='#snippet-graphqlcontrollertests' title='Start of snippet'>anchor</a></sup>
619619
<!-- endSnippet -->
620620

621621

docs/defining-graphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ Field<ListGraphType<EmployeeSummaryGraphType>>("employeeSummary")
336336
};
337337
});
338338
```
339-
<sup><a href='/src/SampleWeb/Query.cs#L49-L79' title='Snippet source file'>snippet source</a> | <a href='#snippet-manuallyapplywhere' title='Start of snippet'>anchor</a></sup>
339+
<sup><a href='/src/SampleWeb/Query.cs#L47-L77' title='Snippet source file'>snippet source</a> | <a href='#snippet-manuallyapplywhere' title='Start of snippet'>anchor</a></sup>
340340
<!-- endSnippet -->
341341

342342

0 commit comments

Comments
 (0)