Skip to content

Commit

Permalink
fiddling with validation messages
Browse files Browse the repository at this point in the history
  • Loading branch information
garywoodfine committed Oct 25, 2021
1 parent dc47489 commit 6c5ba4e
Show file tree
Hide file tree
Showing 116 changed files with 2,053 additions and 1,091 deletions.
13 changes: 13 additions & 0 deletions Nuget.Config
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="github" value="https://nuget.pkg.github.com/threenine/index.json" />
</packageSources>
<packageSourceCredentials>
<github>
<add key="Username" value="threenine" />
<add key="ClearTextPassword" value="%GITHUB_TOKEN%" />
</github>
</packageSourceCredentials>
</configuration>
25 changes: 14 additions & 11 deletions blog-tutorials.sln.DotSettings.user
@@ -1,14 +1,17 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=8d95931c_002Daed2_002D430d_002Db93a_002De7ee27527cdc/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" IsActive="True" Name="Should_return_ok_object_result_with_article_response" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;
&lt;TestAncestor&gt;
&lt;TestId&gt;xUnit::0E7C4D8F-F48E-41D5-843E-694517B89B3D::net5.0::Api.Unit.Tests.EndpointTests.Article.Get.MappingTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0E7C4D8F-F48E-41D5-843E-694517B89B3D::net5.0::Api.Unit.Tests.EndpointTests.Article.Get.ValidatorTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0E7C4D8F-F48E-41D5-843E-694517B89B3D::net5.0::Api.Unit.Tests.EndpointTests.Article.Get.GetTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::09E8BD3E-610E-48C2-87FD-1D91BE860D24::net5.0::WorldBank.Models.Tests.CountrySerializationTests.Should_Serialise_World_Bank_Response&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0BD74C1E-FE5A-47B4-A356-9484DBAC2D8A::net5.0::Countries.Unit.Tests.CountryProviderTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::09E8BD3E-610E-48C2-87FD-1D91BE860D24::net5.0::WorldBank.Models.Tests.CountrySerializationTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0BD74C1E-FE5A-47B4-A356-9484DBAC2D8A::net5.0::Countries.Unit.Tests.GetTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0BD74C1E-FE5A-47B4-A356-9484DBAC2D8A::net5.0::Countries.Unit.Tests.MappingTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0BD74C1E-FE5A-47B4-A356-9484DBAC2D8A::net5.0::Countries.Unit.Tests.ValidatorTests.Should_have_validation_error_for_empty_iso_code&lt;/TestId&gt;
&lt;/TestAncestor&gt;
&lt;Or&gt;
&lt;TestAncestor&gt;
&lt;TestId&gt;xUnit::0E7C4D8F-F48E-41D5-843E-694517B89B3D::net5.0::Api.Unit.Tests.EndpointTests.Article.Get.MappingTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0E7C4D8F-F48E-41D5-843E-694517B89B3D::net5.0::Api.Unit.Tests.EndpointTests.Article.Get.ValidatorTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0E7C4D8F-F48E-41D5-843E-694517B89B3D::net5.0::Api.Unit.Tests.EndpointTests.Article.Get.GetTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::09E8BD3E-610E-48C2-87FD-1D91BE860D24::net5.0::WorldBank.Models.Tests.CountrySerializationTests.Should_Serialise_World_Bank_Response&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0BD74C1E-FE5A-47B4-A356-9484DBAC2D8A::net5.0::Countries.Unit.Tests.CountryProviderTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::09E8BD3E-610E-48C2-87FD-1D91BE860D24::net5.0::WorldBank.Models.Tests.CountrySerializationTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0BD74C1E-FE5A-47B4-A356-9484DBAC2D8A::net5.0::Countries.Unit.Tests.GetTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0BD74C1E-FE5A-47B4-A356-9484DBAC2D8A::net5.0::Countries.Unit.Tests.MappingTests&lt;/TestId&gt;
&lt;TestId&gt;xUnit::0BD74C1E-FE5A-47B4-A356-9484DBAC2D8A::net5.0::Countries.Unit.Tests.ValidatorTests.Should_have_validation_error_for_empty_iso_code&lt;/TestId&gt;
&lt;/TestAncestor&gt;
&lt;Project Location="/home/garyw/code/Blog-Tutorials/tests/Countries.Unit.Tests" Presentation="&amp;lt;tests&amp;gt;\&amp;lt;Countries.Unit.Tests&amp;gt;" /&gt;
&lt;/Or&gt;
&lt;/SessionState&gt;</s:String></wpf:ResourceDictionary>
4 changes: 4 additions & 0 deletions records/ExploringRecords/Person.cs
@@ -0,0 +1,4 @@
namespace ExploringRecords
{

}
Binary file modified src/Cms/bin/Debug/net5.0/Cms.dll
Binary file not shown.
Binary file modified src/Cms/bin/Debug/net5.0/Cms.pdb
Binary file not shown.
5 changes: 3 additions & 2 deletions src/Cms/bin/Debug/net5.0/Cms.runtimeconfig.dev.json
@@ -1,8 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"/home/gary/.dotnet/store/|arch|/|tfm|",
"/home/gary/.nuget/packages"
"/home/garyw/.dotnet/store/|arch|/|tfm|",
"/home/garyw/.nuget/packages",
"/usr/share/dotnet/sdk/NuGetFallbackFolder"
]
}
}
17 changes: 10 additions & 7 deletions src/Cms/obj/Cms.csproj.nuget.dgspec.json
@@ -1,20 +1,23 @@
{
"format": 1,
"restore": {
"/home/gary/code/Blog-Tutorials/src/Cms/Cms.csproj": {}
"/home/garyw/code/Blog-Tutorials/src/Cms/Cms.csproj": {}
},
"projects": {
"/home/gary/code/Blog-Tutorials/src/Cms/Cms.csproj": {
"/home/garyw/code/Blog-Tutorials/src/Cms/Cms.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/gary/code/Blog-Tutorials/src/Cms/Cms.csproj",
"projectUniqueName": "/home/garyw/code/Blog-Tutorials/src/Cms/Cms.csproj",
"projectName": "Cms",
"projectPath": "/home/gary/code/Blog-Tutorials/src/Cms/Cms.csproj",
"packagesPath": "/home/gary/.nuget/packages/",
"outputPath": "/home/gary/code/Blog-Tutorials/src/Cms/obj/",
"projectPath": "/home/garyw/code/Blog-Tutorials/src/Cms/Cms.csproj",
"packagesPath": "/home/garyw/.nuget/packages/",
"outputPath": "/home/garyw/code/Blog-Tutorials/src/Cms/obj/",
"projectStyle": "PackageReference",
"fallbackFolders": [
"/usr/share/dotnet/sdk/NuGetFallbackFolder"
],
"configFilePaths": [
"/home/gary/.nuget/NuGet/NuGet.Config"
"/home/garyw/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net5.0"
Expand Down
11 changes: 6 additions & 5 deletions src/Cms/obj/Cms.csproj.nuget.g.props
Expand Up @@ -4,13 +4,14 @@
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/gary/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/gary/.nuget/packages/</NuGetPackageFolders>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/garyw/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/garyw/.nuget/packages/;/usr/share/dotnet/sdk/NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/gary/.nuget/packages/" />
<SourceRoot Include="/home/garyw/.nuget/packages/" />
<SourceRoot Include="/usr/share/dotnet/sdk/NuGetFallbackFolder/" />
</ItemGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
Expand All @@ -21,7 +22,7 @@
<Import Project="$(NuGetPackageRoot)methodboundaryaspect.fody/2.0.139/build/MethodBoundaryAspect.Fody.props" Condition="Exists('$(NuGetPackageRoot)methodboundaryaspect.fody/2.0.139/build/MethodBoundaryAspect.Fody.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">/home/gary/.nuget/packages/microsoft.extensions.apidescription.server/3.0.0</PkgMicrosoft_Extensions_ApiDescription_Server>
<PkgNewtonsoft_Json Condition=" '$(PkgNewtonsoft_Json)' == '' ">/home/gary/.nuget/packages/newtonsoft.json/9.0.1</PkgNewtonsoft_Json>
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">/home/garyw/.nuget/packages/microsoft.extensions.apidescription.server/3.0.0</PkgMicrosoft_Extensions_ApiDescription_Server>
<PkgNewtonsoft_Json Condition=" '$(PkgNewtonsoft_Json)' == '' ">/home/garyw/.nuget/packages/newtonsoft.json/9.0.1</PkgNewtonsoft_Json>
</PropertyGroup>
</Project>
Binary file modified src/Cms/obj/Debug/net5.0/Cms.assets.cache
Binary file not shown.
@@ -1 +1 @@
900f45ef9c90a47f99f93d970d95e9994e5a7f90
95d92b4ec55092b4d8d1f90e73726061247eb18a
75 changes: 75 additions & 0 deletions src/Cms/obj/Debug/net5.0/Cms.csproj.FileListAbsolute.txt
Expand Up @@ -73,3 +73,78 @@
/home/gary/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/ref/Cms.dll
/home/gary/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.pdb
/home/gary/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.genruntimeconfig.cache
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/appsettings.Development.json
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/appsettings.json
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Cms
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Cms.deps.json
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Cms.runtimeconfig.json
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Cms.runtimeconfig.dev.json
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Cms.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/ref/Cms.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Cms.pdb
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Ardalis.ApiEndpoints.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/AutoMapper.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/AutoMapper.Extensions.Microsoft.DependencyInjection.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Boleyn.Database.Entities.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Boleyn.Database.Postgre.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Dapr.AspNetCore.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Dapr.Client.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Dawn.Guard.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/FluentValidation.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/FluentValidation.DependencyInjectionExtensions.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Google.Api.CommonProtos.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Google.Protobuf.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Grpc.Core.Api.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Grpc.Net.Client.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Grpc.Net.Common.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Humanizer.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/MediatR.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/MediatR.Extensions.Microsoft.DependencyInjection.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/MethodBoundaryAspect.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Microsoft.DotNet.PlatformAbstractions.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Microsoft.EntityFrameworkCore.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Microsoft.EntityFrameworkCore.Abstractions.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Microsoft.EntityFrameworkCore.AutoHistory.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Microsoft.EntityFrameworkCore.Design.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Microsoft.EntityFrameworkCore.Relational.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Microsoft.Extensions.DependencyInjection.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Microsoft.Extensions.DependencyModel.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Microsoft.OpenApi.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Newtonsoft.Json.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Npgsql.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.AspNetCore.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Exceptions.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Extensions.Hosting.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Extensions.Logging.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Formatting.Compact.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Settings.Configuration.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Sinks.Console.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Sinks.Debug.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Sinks.File.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Sinks.PeriodicBatching.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Serilog.Sinks.Seq.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Swashbuckle.AspNetCore.Annotations.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Swashbuckle.AspNetCore.Swagger.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Swashbuckle.AspNetCore.SwaggerGen.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Swashbuckle.AspNetCore.SwaggerUI.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/System.Diagnostics.DiagnosticSource.dll
/home/garyw/code/Blog-Tutorials/src/Cms/bin/Debug/net5.0/Threenine.Data.dll
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.csprojAssemblyReference.cache
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.GeneratedMSBuildEditorConfig.editorconfig
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.AssemblyInfoInputs.cache
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.AssemblyInfo.cs
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.csproj.CoreCompileInputs.cache
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.MvcApplicationPartsAssemblyInfo.cs
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.MvcApplicationPartsAssemblyInfo.cache
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.csproj.Fody.CopyLocal.cache
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/staticwebassets/Cms.StaticWebAssets.Manifest.cache
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/staticwebassets/Cms.StaticWebAssets.xml
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/scopedcss/bundle/Cms.styles.css
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.RazorTargetAssemblyInfo.cache
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.csproj.CopyComplete
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.dll
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/ref/Cms.dll
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.pdb
/home/garyw/code/Blog-Tutorials/src/Cms/obj/Debug/net5.0/Cms.genruntimeconfig.cache

0 comments on commit 6c5ba4e

Please sign in to comment.