Skip to content

Commit

Permalink
Bump PublicApiGenerator from 10.3.0 to 11.0.0 (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
sungam3r authored Mar 7, 2023
1 parent 7843ce3 commit e1bcd02
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
</PropertyGroup>

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

Expand Down
2 changes: 1 addition & 1 deletion src/GraphQLParser.ApiTests/GraphQLParser.ApiTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PackageReference Include="Shouldly" Version="4.1.0" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5" />
<PackageReference Include="PublicApiGenerator" Version="10.3.0" />
<PackageReference Include="PublicApiGenerator" Version="11.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
20 changes: 10 additions & 10 deletions src/GraphQLParser.ApiTests/GraphQLParser.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -822,16 +822,16 @@ namespace GraphQLParser.Visitors
public class DefaultCountContext : GraphQLParser.Visitors.IASTVisitorContext, GraphQLParser.Visitors.ICountContext
{
public DefaultCountContext(System.Func<GraphQLParser.AST.ASTNode, bool> shouldInclude) { }
public System.Threading.CancellationToken CancellationToken { get; set; }
public int Count { get; set; }
public System.Func<GraphQLParser.AST.ASTNode, bool> ShouldInclude { get; }
public System.Threading.CancellationToken CancellationToken { get; init; }
}
public class DefaultMaxDepthContext : GraphQLParser.Visitors.IASTVisitorContext, GraphQLParser.Visitors.IMaxDepthContext
{
public DefaultMaxDepthContext() { }
public System.Threading.CancellationToken CancellationToken { get; set; }
public int MaxDepth { get; set; }
public System.Collections.Generic.Stack<GraphQLParser.AST.ASTNode> Parents { get; set; }
public System.Threading.CancellationToken CancellationToken { get; init; }
public System.Collections.Generic.Stack<GraphQLParser.AST.ASTNode> Parents { get; init; }
}
public interface IASTVisitorContext
{
Expand Down Expand Up @@ -877,11 +877,11 @@ namespace GraphQLParser.Visitors
public class DefaultPrintContext : GraphQLParser.Visitors.IASTVisitorContext, GraphQLParser.Visitors.IPrintContext
{
public DefaultPrintContext(System.IO.TextWriter writer) { }
public System.Threading.CancellationToken CancellationToken { get; set; }
public int IndentLevel { get; set; }
public bool LastDefinitionPrinted { get; set; }
public System.Collections.Generic.Stack<GraphQLParser.AST.ASTNode> Parents { get; set; }
public System.IO.TextWriter Writer { get; }
public System.Threading.CancellationToken CancellationToken { get; init; }
public System.Collections.Generic.Stack<GraphQLParser.AST.ASTNode> Parents { get; init; }
}
}
public static class SDLPrinterExtensions
Expand All @@ -893,9 +893,9 @@ namespace GraphQLParser.Visitors
public class SDLPrinterOptions
{
public SDLPrinterOptions() { }
public bool EachDirectiveLocationOnNewLine { get; set; }
public bool EachUnionMemberOnNewLine { get; set; }
public bool PrintComments { get; set; }
public bool EachDirectiveLocationOnNewLine { get; init; }
public bool EachUnionMemberOnNewLine { get; init; }
public bool PrintComments { get; init; }
}
public class SDLPrinter<TContext> : GraphQLParser.Visitors.ASTVisitor<TContext>
where TContext : GraphQLParser.Visitors.IPrintContext
Expand Down Expand Up @@ -972,8 +972,8 @@ namespace GraphQLParser.Visitors
public class StructurePrinterOptions
{
public StructurePrinterOptions() { }
public bool PrintLocations { get; set; }
public bool PrintNames { get; set; }
public bool PrintLocations { get; init; }
public bool PrintNames { get; init; }
}
public class StructurePrinter<TContext> : GraphQLParser.Visitors.ASTVisitor<TContext>
where TContext : GraphQLParser.Visitors.IPrintContext
Expand Down

0 comments on commit e1bcd02

Please sign in to comment.