diff --git a/src/Core/Queries/Interfaces/IGremlinQuery.cs b/src/Core/Queries/Interfaces/IGremlinQuery.cs index a1b28dfa1..d4c2fee57 100644 --- a/src/Core/Queries/Interfaces/IGremlinQuery.cs +++ b/src/Core/Queries/Interfaces/IGremlinQuery.cs @@ -49,7 +49,7 @@ public interface IGremlinQueryBase : IStartGremlinQuery IGremlinQuery> Tree(); - IGremlinQuery> Tree() where TRoot : notnull; + IGremlinQuery> Tree() where TNode : notnull; IGremlinQuery Tree(Func> continuation) where TTree : ITree; diff --git a/test/PublicApi.Tests/PublicApiTests.Core.DotNet6_0.verified.cs b/test/PublicApi.Tests/PublicApiTests.Core.DotNet6_0.verified.cs index d1fa7e07f..04c8c3c37 100644 --- a/test/PublicApi.Tests/PublicApiTests.Core.DotNet6_0.verified.cs +++ b/test/PublicApi.Tests/PublicApiTests.Core.DotNet6_0.verified.cs @@ -438,8 +438,8 @@ TQuery Select(ExRam.Gremlinq.Core.StepLabel ExRam.Gremlinq.Core.StepLabel label15, ExRam.Gremlinq.Core.StepLabel label16); ExRam.Gremlinq.Core.IGremlinQuery> Tree(); - ExRam.Gremlinq.Core.IGremlinQuery> Tree() - where TRoot : notnull; + ExRam.Gremlinq.Core.IGremlinQuery> Tree() + where TNode : notnull; ExRam.Gremlinq.Core.IGremlinQuery Tree(System.Func> continuation) where TTree : ExRam.Gremlinq.Core.ITree; } diff --git a/test/PublicApi.Tests/PublicApiTests.Core.DotNet7_0.verified.cs b/test/PublicApi.Tests/PublicApiTests.Core.DotNet7_0.verified.cs index d1fa7e07f..04c8c3c37 100644 --- a/test/PublicApi.Tests/PublicApiTests.Core.DotNet7_0.verified.cs +++ b/test/PublicApi.Tests/PublicApiTests.Core.DotNet7_0.verified.cs @@ -438,8 +438,8 @@ TQuery Select(ExRam.Gremlinq.Core.StepLabel ExRam.Gremlinq.Core.StepLabel label15, ExRam.Gremlinq.Core.StepLabel label16); ExRam.Gremlinq.Core.IGremlinQuery> Tree(); - ExRam.Gremlinq.Core.IGremlinQuery> Tree() - where TRoot : notnull; + ExRam.Gremlinq.Core.IGremlinQuery> Tree() + where TNode : notnull; ExRam.Gremlinq.Core.IGremlinQuery Tree(System.Func> continuation) where TTree : ExRam.Gremlinq.Core.ITree; } diff --git a/test/PublicApi.Tests/PublicApiTests.Core.DotNet8_0.verified.cs b/test/PublicApi.Tests/PublicApiTests.Core.DotNet8_0.verified.cs index d1fa7e07f..04c8c3c37 100644 --- a/test/PublicApi.Tests/PublicApiTests.Core.DotNet8_0.verified.cs +++ b/test/PublicApi.Tests/PublicApiTests.Core.DotNet8_0.verified.cs @@ -438,8 +438,8 @@ TQuery Select(ExRam.Gremlinq.Core.StepLabel ExRam.Gremlinq.Core.StepLabel label15, ExRam.Gremlinq.Core.StepLabel label16); ExRam.Gremlinq.Core.IGremlinQuery> Tree(); - ExRam.Gremlinq.Core.IGremlinQuery> Tree() - where TRoot : notnull; + ExRam.Gremlinq.Core.IGremlinQuery> Tree() + where TNode : notnull; ExRam.Gremlinq.Core.IGremlinQuery Tree(System.Func> continuation) where TTree : ExRam.Gremlinq.Core.ITree; } diff --git a/test/PublicApi.Tests/PublicApiTests.Core.DotNet9_0.verified.cs b/test/PublicApi.Tests/PublicApiTests.Core.DotNet9_0.verified.cs index d1fa7e07f..04c8c3c37 100644 --- a/test/PublicApi.Tests/PublicApiTests.Core.DotNet9_0.verified.cs +++ b/test/PublicApi.Tests/PublicApiTests.Core.DotNet9_0.verified.cs @@ -438,8 +438,8 @@ TQuery Select(ExRam.Gremlinq.Core.StepLabel ExRam.Gremlinq.Core.StepLabel label15, ExRam.Gremlinq.Core.StepLabel label16); ExRam.Gremlinq.Core.IGremlinQuery> Tree(); - ExRam.Gremlinq.Core.IGremlinQuery> Tree() - where TRoot : notnull; + ExRam.Gremlinq.Core.IGremlinQuery> Tree() + where TNode : notnull; ExRam.Gremlinq.Core.IGremlinQuery Tree(System.Func> continuation) where TTree : ExRam.Gremlinq.Core.ITree; }