Skip to content

Commit 6c45e34

Browse files
committed
Bump to 0.17.2
1 parent 7b31bb1 commit 6c45e34

File tree

7 files changed

+7
-12
lines changed

7 files changed

+7
-12
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.17.1.{build}
1+
version: 0.17.2.{build}
22
pull_requests:
33
do_not_increment_build_number: true
44
skip_tags: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-dotnet",
3-
"version": "0.17.1",
3+
"version": "0.17.2",
44
"description": "GraphQL for .NET",
55
"main": "index.js",
66
"scripts": {

src/GraphQL.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
4-
VisualStudioVersion = 15.0.26430.6
4+
VisualStudioVersion = 15.0.26430.16
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{C1C3FFFD-3369-42B1-BE2E-CA10AD9E2ADA}"
77
ProjectSection(SolutionItems) = preProject

src/GraphQL/GraphQL.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>GraphQL for .NET</Description>
5-
<VersionPrefix>0.17.1</VersionPrefix>
5+
<VersionPrefix>0.17.2</VersionPrefix>
66
<Authors>Joe McBride</Authors>
77
<TargetFrameworks>netstandard1.1;net45</TargetFrameworks>
88
<PackageTargetFallback>dnxcore50</PackageTargetFallback>

src/GraphQL/ObjectExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections;
33
using System.Collections.Generic;
44
using System.Linq;
@@ -35,7 +35,7 @@ public static object ToObject(this IDictionary<string, object> source, Type type
3535
return obj;
3636
}
3737

38-
public static object GetPropertyValue(object propertyValue, Type fieldType)
38+
public static object GetPropertyValue(this object propertyValue, Type fieldType)
3939
{
4040
if (fieldType.FullName == "System.Object")
4141
{

src/GraphQL/Resolvers/DelegateFieldModelBinderResolver.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,5 @@ public object Resolve(ResolveFieldContext context)
4747

4848
return _resolver.DynamicInvoke(arguments);
4949
}
50-
51-
object IFieldResolver.Resolve(ResolveFieldContext context)
52-
{
53-
return Resolve(context);
54-
}
5550
}
5651
}

src/GraphQL/Types/ResolveFieldContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public object GetArgument(System.Type argumentType, string name, object defaultV
9090
return inputObject.ToObject(type);
9191
}
9292

93-
return ObjectExtensions.GetPropertyValue(arg, argumentType);
93+
return arg.GetPropertyValue(argumentType);
9494
}
9595

9696
public bool HasArgument(string argumentName)

0 commit comments

Comments
 (0)