File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed
Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff 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+ }
Original file line number Diff line number Diff line change 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" ) ]
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments