Skip to content

Commit e1bcd02

Browse files
authored
Bump PublicApiGenerator from 10.3.0 to 11.0.0 (#291)
1 parent 7843ce3 commit e1bcd02

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

src/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
</PropertyGroup>
2828

2929
<ItemGroup Condition="'$(IsPackable)' == 'true'">
30-
<None Include="..\..\assets\logo.64x64.png" Pack="true" PackagePath="\" />
31-
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
30+
<None Include="..\..\assets\logo.64x64.png" Pack="true" PackagePath="\" Visible="false" />
31+
<None Include="..\..\README.md" Pack="true" PackagePath="\" Visible="false" />
3232
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
3333
</ItemGroup>
3434

src/GraphQLParser.ApiTests/GraphQLParser.ApiTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageReference Include="Shouldly" Version="4.1.0" />
1212
<PackageReference Include="xunit" Version="2.4.2" />
1313
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
14-
<PackageReference Include="PublicApiGenerator" Version="10.3.0" />
14+
<PackageReference Include="PublicApiGenerator" Version="11.0.0" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

src/GraphQLParser.ApiTests/GraphQLParser.approved.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -822,16 +822,16 @@ namespace GraphQLParser.Visitors
822822
public class DefaultCountContext : GraphQLParser.Visitors.IASTVisitorContext, GraphQLParser.Visitors.ICountContext
823823
{
824824
public DefaultCountContext(System.Func<GraphQLParser.AST.ASTNode, bool> shouldInclude) { }
825-
public System.Threading.CancellationToken CancellationToken { get; set; }
826825
public int Count { get; set; }
827826
public System.Func<GraphQLParser.AST.ASTNode, bool> ShouldInclude { get; }
827+
public System.Threading.CancellationToken CancellationToken { get; init; }
828828
}
829829
public class DefaultMaxDepthContext : GraphQLParser.Visitors.IASTVisitorContext, GraphQLParser.Visitors.IMaxDepthContext
830830
{
831831
public DefaultMaxDepthContext() { }
832-
public System.Threading.CancellationToken CancellationToken { get; set; }
833832
public int MaxDepth { get; set; }
834-
public System.Collections.Generic.Stack<GraphQLParser.AST.ASTNode> Parents { get; set; }
833+
public System.Threading.CancellationToken CancellationToken { get; init; }
834+
public System.Collections.Generic.Stack<GraphQLParser.AST.ASTNode> Parents { get; init; }
835835
}
836836
public interface IASTVisitorContext
837837
{
@@ -877,11 +877,11 @@ namespace GraphQLParser.Visitors
877877
public class DefaultPrintContext : GraphQLParser.Visitors.IASTVisitorContext, GraphQLParser.Visitors.IPrintContext
878878
{
879879
public DefaultPrintContext(System.IO.TextWriter writer) { }
880-
public System.Threading.CancellationToken CancellationToken { get; set; }
881880
public int IndentLevel { get; set; }
882881
public bool LastDefinitionPrinted { get; set; }
883-
public System.Collections.Generic.Stack<GraphQLParser.AST.ASTNode> Parents { get; set; }
884882
public System.IO.TextWriter Writer { get; }
883+
public System.Threading.CancellationToken CancellationToken { get; init; }
884+
public System.Collections.Generic.Stack<GraphQLParser.AST.ASTNode> Parents { get; init; }
885885
}
886886
}
887887
public static class SDLPrinterExtensions
@@ -893,9 +893,9 @@ namespace GraphQLParser.Visitors
893893
public class SDLPrinterOptions
894894
{
895895
public SDLPrinterOptions() { }
896-
public bool EachDirectiveLocationOnNewLine { get; set; }
897-
public bool EachUnionMemberOnNewLine { get; set; }
898-
public bool PrintComments { get; set; }
896+
public bool EachDirectiveLocationOnNewLine { get; init; }
897+
public bool EachUnionMemberOnNewLine { get; init; }
898+
public bool PrintComments { get; init; }
899899
}
900900
public class SDLPrinter<TContext> : GraphQLParser.Visitors.ASTVisitor<TContext>
901901
where TContext : GraphQLParser.Visitors.IPrintContext
@@ -972,8 +972,8 @@ namespace GraphQLParser.Visitors
972972
public class StructurePrinterOptions
973973
{
974974
public StructurePrinterOptions() { }
975-
public bool PrintLocations { get; set; }
976-
public bool PrintNames { get; set; }
975+
public bool PrintLocations { get; init; }
976+
public bool PrintNames { get; init; }
977977
}
978978
public class StructurePrinter<TContext> : GraphQLParser.Visitors.ASTVisitor<TContext>
979979
where TContext : GraphQLParser.Visitors.IPrintContext

0 commit comments

Comments
 (0)