Skip to content

Commit 23db689

Browse files
committed
Bump to 4.1.0 and attempt to fix #219
1 parent aec5cf5 commit 23db689

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

src/GraphQL.Conventions/Adapters/Types/IdGraphType.cs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ namespace GraphQL.Conventions.Adapters.Types
66
public class IdGraphType : GraphQL.Types.IdGraphType
77
{
88
/// <inheritdoc/>
9-
public override object ParseValue(object value) => value != null
10-
? new Id(value.ToString())
11-
: null;
9+
public override object ParseValue(object value)
10+
{
11+
if (value == null)
12+
{
13+
return null;
14+
}
15+
return new Id(value.ToString());
16+
}
1217
}
13-
}
18+
}

src/GraphQL.Conventions/CommonAssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
[assembly: AssemblyCopyright("Copyright 2016-2019 Tommy Lillehagen. All rights reserved.")]
99
[assembly: AssemblyTrademark("")]
1010
[assembly: AssemblyVersion("1.0.0.0")]
11-
[assembly: AssemblyFileVersion("4.0.0")]
12-
[assembly: AssemblyInformationalVersion("4.0.0")]
11+
[assembly: AssemblyFileVersion("4.1.0")]
12+
[assembly: AssemblyInformationalVersion("4.1.0")]
1313
[assembly: CLSCompliant(false)]
1414

1515
[assembly: InternalsVisibleTo("Tests")]

src/GraphQL.Conventions/GraphQL.Conventions.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
<PropertyGroup>
44
<Description>GraphQL Conventions for .NET</Description>
5-
<VersionPrefix>4.0.0</VersionPrefix>
6-
<PackageVersion>4.0.0</PackageVersion>
5+
<VersionPrefix>4.1.0</VersionPrefix>
6+
<PackageVersion>4.1.0</PackageVersion>
77
<Authors>Tommy Lillehagen</Authors>
88
<TargetFrameworks>netstandard2.0</TargetFrameworks>
99
<LangVersion>7.1</LangVersion>

0 commit comments

Comments
 (0)