Skip to content

Commit ad380b8

Browse files
hth313xperiandri
authored andcommitted
Fix spelling in error message
1 parent 16e5d1b commit ad380b8

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/FSharp.Data.GraphQL.Client/BaseTypes.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ module internal JsonValueHelper =
346346
| Some "Date" ->
347347
match DateTime.TryParse(s, CultureInfo.InvariantCulture, DateTimeStyles.None) with
348348
| (true, d) -> box d
349-
| _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time sring, but the conversion failed."
349+
| _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time string, but the conversion failed."
350350
| Some _ ->
351351
box s
352352
| _ -> failwith "A string type was received in the query response item, but the matching schema field is not a string based type."
@@ -362,7 +362,7 @@ module internal JsonValueHelper =
362362
| Some "Date" ->
363363
match DateTime.TryParse(s, CultureInfo.InvariantCulture, DateTimeStyles.None) with
364364
| (true, d) -> makeSomeIfNeeded d
365-
| _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time sring, but the conversion failed."
365+
| _ -> failwith "A string was received in the query response, and the schema recognizes it as a date and time string, but the conversion failed."
366366
| Some _ ->
367367
s |> makeSomeIfNeeded
368368
| _ -> failwith "A string type was received in the query response item, but the matching schema field is not a string based type."

tests/FSharp.Data.GraphQL.Tests/FSharp.Data.GraphQL.Tests.fsproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,4 @@
6969
<ProjectReference Include="..\..\src\FSharp.Data.GraphQL.Client.DesignTime\FSharp.Data.GraphQL.Client.DesignTime.fsproj" />
7070
<ProjectReference Include="..\..\src\FSharp.Data.GraphQL.Server.Middleware\FSharp.Data.GraphQL.Server.Middleware.fsproj" />
7171
</ItemGroup>
72-
</Project>
73-
<ItemGroup Condition="$(OS) == Unix">
74-
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
75-
</ItemGroup>
76-
<Import Project="..\..\netfx.props" />
77-
<Import Project="..\..\.paket\Paket.Restore.targets" />
7872
</Project>

0 commit comments

Comments
 (0)