Skip to content

Commit 9fcb2bb

Browse files
fixed failing bits
1 parent fc38629 commit 9fcb2bb

File tree

5 files changed

+45
-22
lines changed

5 files changed

+45
-22
lines changed

.config/dotnet-tools.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"rollForward": false
4949
},
5050
"strawberryshake.tools": {
51-
"version": "15.0.3",
51+
"version": "15.1.0-p.3",
5252
"commands": ["dotnet-graphql"],
5353
"rollForward": false
5454
},

.idea/.idea.LaunchPad/.idea/discord.xml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Directory.Packages.props

+20-20
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,26 @@
5858
<PackageVersion Include="FluentValidation.DependencyInjectionExtensions" Version="11.11.0" />
5959
<PackageVersion Include="Grpc.AspNetCore" Version="2.67.0" />
6060
<PackageVersion Include="Humanizer.Core" Version="2.14.1" />
61-
<PackageVersion Include="HotChocolate" Version="15.0.3" />
62-
<PackageVersion Include="HotChocolate.Abstractions" Version="15.0.3" />
63-
<PackageVersion Include="HotChocolate.AspNetCore" Version="15.0.3" />
64-
<PackageVersion Include="HotChocolate.Data" Version="15.0.3" />
65-
<PackageVersion Include="HotChocolate.Diagnostics" Version="15.0.3" />
66-
<PackageVersion Include="HotChocolate.Execution.Abstractions" Version="15.0.3" />
67-
<PackageVersion Include="HotChocolate.Data.EntityFramework" Version="15.0.3" />
68-
<PackageVersion Include="HotChocolate.Data.Spatial" Version="15.0.3" />
69-
<PackageVersion Include="HotChocolate.Types.Analyzers" Version="15.0.3" />
70-
<PackageVersion Include="HotChocolate.Types.CursorPagination" Version="15.0.3" />
71-
<PackageVersion Include="HotChocolate.Types.OffsetPagination" Version="15.0.3" />
72-
<PackageVersion Include="HotChocolate.Types.NodaTime" Version="15.0.3" />
73-
<PackageVersion Include="HotChocolate.Types.Spatial" Version="15.0.3" />
74-
<PackageVersion Include="StrawberryShake.Transport.Http" Version="15.0.3" />
75-
<PackageVersion Include="StrawberryShake" Version="15.0.3" />
76-
<PackageVersion Include="StrawberryShake.Core" Version="15.0.3" />
77-
<PackageVersion Include="StrawberryShake.Server" Version="15.0.3" />
78-
<PackageVersion Include="StrawberryShake.Maui" Version="15.0.3" />
79-
<PackageVersion Include="StrawberryShake.Blazor" Version="15.0.3" />
80-
<PackageVersion Include="StrawberryShake.Razor" Version="15.0.3" />
61+
<PackageVersion Include="HotChocolate" Version="15.1.0-p.3" />
62+
<PackageVersion Include="HotChocolate.Abstractions" Version="15.1.0-p.3" />
63+
<PackageVersion Include="HotChocolate.AspNetCore" Version="15.1.0-p.3" />
64+
<PackageVersion Include="HotChocolate.Data" Version="15.1.0-p.3" />
65+
<PackageVersion Include="HotChocolate.Diagnostics" Version="15.1.0-p.3" />
66+
<PackageVersion Include="HotChocolate.Execution.Abstractions" Version="15.1.0-p.3" />
67+
<PackageVersion Include="HotChocolate.Data.EntityFramework" Version="15.1.0-p.3" />
68+
<PackageVersion Include="HotChocolate.Data.Spatial" Version="15.1.0-p.3" />
69+
<PackageVersion Include="HotChocolate.Types.Analyzers" Version="15.1.0-p.3" />
70+
<PackageVersion Include="HotChocolate.Types.CursorPagination" Version="15.1.0-p.3" />
71+
<PackageVersion Include="HotChocolate.Types.OffsetPagination" Version="15.1.0-p.3" />
72+
<PackageVersion Include="HotChocolate.Types.NodaTime" Version="15.1.0-p.3" />
73+
<PackageVersion Include="HotChocolate.Types.Spatial" Version="15.1.0-p.3" />
74+
<PackageVersion Include="StrawberryShake.Transport.Http" Version="15.1.0-p.3" />
75+
<PackageVersion Include="StrawberryShake" Version="15.1.0-p.3" />
76+
<PackageVersion Include="StrawberryShake.Core" Version="15.1.0-p.3" />
77+
<PackageVersion Include="StrawberryShake.Server" Version="15.1.0-p.3" />
78+
<PackageVersion Include="StrawberryShake.Maui" Version="15.1.0-p.3" />
79+
<PackageVersion Include="StrawberryShake.Blazor" Version="15.1.0-p.3" />
80+
<PackageVersion Include="StrawberryShake.Razor" Version="15.1.0-p.3" />
8181
<PackageVersion Include="MediatR" Version="12.4.1" />
8282
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="9.0.2" />
8383
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.2" />

sample/Sample.Graphql/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{
3333
options.RemoveUnreachableTypes = false;
3434
options.EnableDirectiveIntrospection = true;
35-
options.EnableTrueNullability = true;
35+
// options.EnableTrueNullability = true;
3636
options.DefaultDirectiveVisibility = DirectiveVisibility.Public;
3737
options.RemoveUnusedTypeSystemDirectives = false;
3838
}

test/Sample.Graphql.Tests/snapshots/FoundationTests.GraphqlSchema.verified.graphql

+9
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,15 @@ directive @cost("The `weight` argument defines what value to add to the overall
599599
"The purpose of the `@listSize` directive is to either inform the static analysis about the size of returned lists (if that information is statically available), or to point the analysis to where to find that information."
600600
directive @listSize("The `assumedSize` argument can be used to statically define the maximum length of a list returned by a field." assumedSize: Int "The `slicingArguments` argument can be used to define which of the field's arguments with numeric type are slicing arguments, so that their value determines the size of the list returned by that field. It may specify a list of multiple slicing arguments." slicingArguments: [String!] "The `slicingArgumentDefaultValue` argument can be used to define a default value for a slicing argument, which is used if the argument is not present in a query." slicingArgumentDefaultValue: Int "The `sizedFields` argument can be used to define that the value of the `assumedSize` argument or of a slicing argument does not affect the size of a list returned by a field itself, but that of a list returned by one of its sub-fields." sizedFields: [String!] "The `requireOneSlicingArgument` argument can be used to inform the static analysis that it should expect that exactly one of the defined slicing arguments is present in a query. If that is not the case (i.e., if none or multiple slicing arguments are present), the static analysis may throw an error." requireOneSlicingArgument: Boolean! = true) on FIELD_DEFINITION
601601

602+
"""
603+
The `@oneOf` directive is used within the type system definition language
604+
to indicate:
605+
606+
- an Input Object is a Oneof Input Object, or
607+
- an Object Type's Field is a Oneof Field.
608+
"""
609+
directive @oneOf on INPUT_OBJECT
610+
602611
"The `@specifiedBy` directive is used within the type system definition language to provide a URL for specifying the behavior of custom scalar definitions."
603612
directive @specifiedBy("The specifiedBy URL points to a human-readable specification. This field will only read a result for scalar types." url: String!) on SCALAR
604613

0 commit comments

Comments
 (0)