From e1bcd02474ac0580659397430128729d7d426a42 Mon Sep 17 00:00:00 2001 From: Ivan Maximov Date: Tue, 7 Mar 2023 18:46:07 +0300 Subject: [PATCH] Bump PublicApiGenerator from 10.3.0 to 11.0.0 (#291) --- src/Directory.Build.props | 4 ++-- .../GraphQLParser.ApiTests.csproj | 2 +- .../GraphQLParser.approved.txt | 20 +++++++++---------- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index b7802df2..5c096baf 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -27,8 +27,8 @@ - - + + diff --git a/src/GraphQLParser.ApiTests/GraphQLParser.ApiTests.csproj b/src/GraphQLParser.ApiTests/GraphQLParser.ApiTests.csproj index ffc2eedc..75473089 100644 --- a/src/GraphQLParser.ApiTests/GraphQLParser.ApiTests.csproj +++ b/src/GraphQLParser.ApiTests/GraphQLParser.ApiTests.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/GraphQLParser.ApiTests/GraphQLParser.approved.txt b/src/GraphQLParser.ApiTests/GraphQLParser.approved.txt index 3c3e2402..8d1a0de1 100644 --- a/src/GraphQLParser.ApiTests/GraphQLParser.approved.txt +++ b/src/GraphQLParser.ApiTests/GraphQLParser.approved.txt @@ -822,16 +822,16 @@ namespace GraphQLParser.Visitors public class DefaultCountContext : GraphQLParser.Visitors.IASTVisitorContext, GraphQLParser.Visitors.ICountContext { public DefaultCountContext(System.Func shouldInclude) { } - public System.Threading.CancellationToken CancellationToken { get; set; } public int Count { get; set; } public System.Func 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 Parents { get; set; } + public System.Threading.CancellationToken CancellationToken { get; init; } + public System.Collections.Generic.Stack Parents { get; init; } } public interface IASTVisitorContext { @@ -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 Parents { get; set; } public System.IO.TextWriter Writer { get; } + public System.Threading.CancellationToken CancellationToken { get; init; } + public System.Collections.Generic.Stack Parents { get; init; } } } public static class SDLPrinterExtensions @@ -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 : GraphQLParser.Visitors.ASTVisitor where TContext : GraphQLParser.Visitors.IPrintContext @@ -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 : GraphQLParser.Visitors.ASTVisitor where TContext : GraphQLParser.Visitors.IPrintContext