Skip to content

Commit

Permalink
Bump GraphQL.MicrosoftDI/GraphQL.SystemTextJson from 7.7.2 to 7.8.0 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Feb 8, 2024
1 parent 25d1f8b commit da9e137
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GraphQL.MicrosoftDI" Version="7.7.2" />
<PackageReference Include="GraphQL.SystemTextJson" Version="7.7.2" />
<PackageReference Include="GraphQL.MicrosoftDI" Version="7.8.0" />
<PackageReference Include="GraphQL.SystemTextJson" Version="7.8.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Shouldly" Version="4.2.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ namespace GraphQL.IntrospectionModel.Tests;

internal sealed class Subscription : ObjectGraphType
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1861:Avoid constant arrays as arguments", Justification = "Test")]
public Subscription()
{
Field<ListGraphType<IntGraphType>>("values").Resolve(_ => new[] { 1, 2 });
Field<ListGraphType<IntGraphType>>("values").ResolveStream(_ => new StubObservable());
}

internal sealed class StubObservable : IObservable<object?>
{
public IDisposable Subscribe(IObserver<object?> observer) => throw new NotSupportedException();
}
}

0 comments on commit da9e137

Please sign in to comment.