Skip to content

Commit 32b748d

Browse files
authored
Updating Dependency Versions (#110)
* bumped hot chocolote version * Expecting new FluentValidation PropertyPath placeholder (v11.7.0) to be returned in test failures * Bumping FluentValidation => 11.7.1 Bumping HotChocolate => 13.5.1 Expecting new FluentValidation PropertyPath placeholder (v11.7.0) to be returned in test failures --------- Co-authored-by: ian.kulmatycki <ian.kulmatycki@perimeter9.com>
1 parent 86dc76a commit 32b748d

3 files changed

Lines changed: 17 additions & 2 deletions

File tree

src/AppAny.HotChocolate.FluentValidation.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
<!-- </ItemGroup>-->
3434

3535
<ItemGroup Label="Packages">
36-
<PackageReference Include="FluentValidation" Version="11.1.1" />
37-
<PackageReference Include="HotChocolate.Execution" Version="13.4.0" />
36+
<PackageReference Include="FluentValidation" Version="11.7.1" />
37+
<PackageReference Include="HotChocolate.Execution" Version="13.5.1" />
3838
</ItemGroup>
3939

4040
<ItemGroup Label="Assets">

tests/AppAny.HotChocolate.FluentValidation.Tests/OverrideErrorMappers.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ public async Task UseDefaultErrorMapperWithExtendedDetails()
306306
{
307307
Assert.Equal("PropertyValue", Assert.IsType<string>(propertyValue.Key));
308308
Assert.Equal("", Assert.IsType<string>(propertyValue.Value));
309+
},
310+
propertyValue =>
311+
{
312+
Assert.Equal("PropertyPath", Assert.IsType<string>(propertyValue.Key));
313+
Assert.Equal("Name", Assert.IsType<string>(propertyValue.Value));
309314
});
310315
});
311316
});
@@ -403,6 +408,11 @@ public async Task UseDefaultErrorMapperWithCustomExtendedDetails()
403408
{
404409
Assert.Equal("PropertyValue", Assert.IsType<string>(propertyValue.Key));
405410
Assert.Equal("", Assert.IsType<string>(propertyValue.Value));
411+
},
412+
propertyValue =>
413+
{
414+
Assert.Equal("PropertyPath", Assert.IsType<string>(propertyValue.Key));
415+
Assert.Equal("Name", Assert.IsType<string>(propertyValue.Value));
406416
});
407417
},
408418
test =>

tests/AppAny.HotChocolate.FluentValidation.Tests/UsingAttributes.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,11 @@ public async Task DefaultErrorMapperWithExtendedDetails()
250250
{
251251
Assert.Equal("PropertyValue", Assert.IsType<string>(propertyValue.Key));
252252
Assert.Equal("", Assert.IsType<string>(propertyValue.Value));
253+
},
254+
propertyValue =>
255+
{
256+
Assert.Equal("PropertyPath", Assert.IsType<string>(propertyValue.Key));
257+
Assert.Equal("Name", Assert.IsType<string>(propertyValue.Value));
253258
});
254259
});
255260
});

0 commit comments

Comments
 (0)