Skip to content

Commit 0a8faeb

Browse files
committed
Clean up some project stuff
1 parent e6ee4fb commit 0a8faeb

File tree

8 files changed

+38
-10
lines changed

8 files changed

+38
-10
lines changed

.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": ".NET Core Launch (web)",
66
"type": "coreclr",
77
"request": "launch",
8-
"preLaunchTask": "build",
8+
"preLaunchTask": "build-sample",
99
"program": "${workspaceRoot}/samples/DataLoader.GraphQL.StarWars/bin/Debug/netcoreapp1.0/DataLoader.GraphQL.StarWars.dll",
1010
"args": [],
1111
"cwd": "${workspaceRoot}/samples/DataLoader.GraphQL.StarWars",

.vscode/settings.json

-3
This file was deleted.

.vscode/tasks.json

+20-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,25 @@
1515
"isBuildCommand": true,
1616
"problemMatcher": "$msCompile"
1717
},
18+
{
19+
"taskName": "sample",
20+
"suppressTaskName": true,
21+
"args": [
22+
"build",
23+
"samples/DataLoader.GraphQL.StarWars/DataLoader.GraphQL.StarWars.csproj"
24+
],
25+
"isBuildCommand": false,
26+
"problemMatcher": "$msCompile"
27+
},
28+
{
29+
"taskName": "db",
30+
"suppressTaskName": true,
31+
"args": [
32+
"ef",
33+
"database",
34+
"update"
35+
]
36+
},
1837
{
1938
"taskName": "test",
2039
"args": [
@@ -28,8 +47,7 @@
2847
"suppressTaskName": true,
2948
"args": [
3049
"build",
31-
"--no-incremental",
32-
"DataLoader.sln"
50+
"--no-incremental"
3351
],
3452
"problemMatcher": "$msCompile"
3553
}

DataLoader.sln

+14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataLoader", "src\DataLoade
44
EndProject
55
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataLoader.Tests", "test\DataLoader.Tests\DataLoader.Tests.csproj", "{22F9631E-90EE-405B-BEA2-77D0D24B39E3}"
66
EndProject
7+
#Project("{13B669BE-BB05-4DDF-9536-439F39A36129}") = "DataLoader.GraphQL.StarWars", "samples\DataLoader.GraphQL.StarWars\DataLoader.GraphQL.StarWars.csproj", "{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}"
8+
EndProject
79
Global
810
GlobalSection(SolutionConfigurationPlatforms) = preSolution
911
Debug|Any CPU = Debug|Any CPU
@@ -38,5 +40,17 @@ Global
3840
{22F9631E-90EE-405B-BEA2-77D0D24B39E3}.Release|x64.Build.0 = Release|x64
3941
{22F9631E-90EE-405B-BEA2-77D0D24B39E3}.Release|x86.ActiveCfg = Release|x86
4042
{22F9631E-90EE-405B-BEA2-77D0D24B39E3}.Release|x86.Build.0 = Release|x86
43+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
45+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Debug|x64.ActiveCfg = Debug|x64
46+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Debug|x64.Build.0 = Debug|x64
47+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Debug|x86.ActiveCfg = Debug|x86
48+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Debug|x86.Build.0 = Debug|x86
49+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
50+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Release|Any CPU.Build.0 = Release|Any CPU
51+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Release|x64.ActiveCfg = Release|x64
52+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Release|x64.Build.0 = Release|x64
53+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Release|x86.ActiveCfg = Release|x86
54+
#{AB099A22-F89E-4C7B-BDBF-1373CF2190F4}.Release|x86.Build.0 = Release|x86
4155
EndGlobalSection
4256
EndGlobal

GitVersion.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
mode: ContinuousDeployment
2+
ignore:
3+
sha: []

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ DataLoader for .NET
44
A port of Facebook's [DataLoader](https://github.com/facebook/dataloader) for .NET.
55

66
[![NuGet](https://img.shields.io/nuget/v/DataLoader.svg)](https://nuget.org/packages/DataLoader)
7+
[![MyGet Pre Release](https://img.shields.io/myget/dlukez/vpre/DataLoader.svg)](https://www.myget.org/feed/dlukez/package/nuget/DataLoader)
78
[![MyGet Build Status](https://www.myget.org/BuildSource/Badge/dlukez?identifier=265cd302-0184-43af-abc8-6041143cfc91)](https://www.myget.org/feed/dlukez/package/nuget/DataLoader)
89

910
Originally began as [a solution](https://github.com/dlukez/graphql-dotnet-dataloader) to the [select N+1 problem](https://github.com/graphql-dotnet/graphql-dotnet/issues/21) for [GraphQL in .NET](https://github.com/graphql-dotnet/graphql-dotnet) but found that most of the (small amount of) code was independent and could be generalized for use in other scenarios.
@@ -20,8 +21,6 @@ Facebook's implementation runs in Javascript and takes advantage of the [event l
2021

2122
As such, we have defined a special frame or context to contain our load operations. Whenever we want to use a loader, we should be inside one of these contexts. A simple way to do this is by calling the static `DataLoaderContext.Run` method. This method takes a user-supplied delegate and runs it in within a new context, before actually executing any loaders that were called within it.
2223

23-
Since the
24-
2524

2625
Usage
2726
-----

samples/DataLoader.GraphQL.StarWars/DataLoader.GraphQL.StarWars.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.0.1" />
2323
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="1.0.2" />
2424
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="1.0.2" PrivateAssets="All" />
25-
<PackageReference Include="Microsoft.NET.Sdk.Web" Version="1.0.0-alpha-20161117-1-119" PrivateAssets="All" />
2625
</ItemGroup>
2726

2827
<ItemGroup>

src/DataLoader/DataLoader.csproj

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<PropertyGroup>
33
<Title>DataLoader for .NET</Title>
44
<PackageId>DataLoader</PackageId>
5-
<!--<PackageVersion>0.1.2-$(PrereleaseTag)</PackageVersion>-->
65
<Description>A port of Facebook's DataLoader for .NET</Description>
76
<Authors>Daniel Zimmermann</Authors>
87
<IsPackable>true</IsPackable>

0 commit comments

Comments
 (0)