Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makes StrawBerry Shake Interfaces Partial #4569

Merged
merged 4 commits into from
Dec 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public override void Build(CodeWriter writer)

writer.WriteIndent();

writer.Write("public interface ");
writer.Write("public partial interface ");
writer.WriteLine(Name);

if (Implements.Count > 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public GetJsonResult(global::System.Text.Json.JsonDocument json)

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetJsonResult
public partial interface IGetJsonResult
{
public global::System.Text.Json.JsonDocument Json
{
Expand Down Expand Up @@ -272,7 +272,7 @@ public GetJsonQuery(global::StrawberryShake.IOperationExecutor<IGetJsonResult> o
/// </code>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetJsonQuery : global::StrawberryShake.IOperationRequestFactory
public partial interface IGetJsonQuery : global::StrawberryShake.IOperationRequestFactory
{
global::System.Threading.Tasks.Task<global::StrawberryShake.IOperationResult<IGetJsonResult>> ExecuteAsync(global::System.Threading.CancellationToken cancellationToken = default);
global::System.IObservable<global::StrawberryShake.IOperationResult<IGetJsonResult>> Watch(global::StrawberryShake.ExecutionStrategy? strategy = null);
Expand Down Expand Up @@ -300,7 +300,7 @@ public AnyScalarDefaultSerializationClient(global::StrawberryShake.CodeGeneratio
/// Represents the AnyScalarDefaultSerializationClient GraphQL client
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IAnyScalarDefaultSerializationClient
public partial interface IAnyScalarDefaultSerializationClient
{
global::StrawberryShake.CodeGeneration.CSharp.Integration.AnyScalarDefaultSerialization.IGetJsonQuery GetJson
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public GetFoo_Foo_Quox2(global::System.String? foo)

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetFooResult
public partial interface IGetFooResult
{
public global::System.Collections.Generic.IReadOnlyList<global::StrawberryShake.CodeGeneration.CSharp.Integration.EntityIdOrData.IGetFoo_Foo?>? Foo
{
Expand All @@ -465,13 +465,13 @@ public interface IGetFooResult

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetFoo_Foo
public partial interface IGetFoo_Foo
{
}

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetFoo_Foo_Baz : IGetFoo_Foo
public partial interface IGetFoo_Foo_Baz : IGetFoo_Foo
{
public global::System.String? Id
{
Expand All @@ -481,7 +481,7 @@ public interface IGetFoo_Foo_Baz : IGetFoo_Foo

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetFoo_Foo_Quox : IGetFoo_Foo
public partial interface IGetFoo_Foo_Quox : IGetFoo_Foo
{
public global::System.String? Foo
{
Expand All @@ -491,7 +491,7 @@ public interface IGetFoo_Foo_Quox : IGetFoo_Foo

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetFoo_Foo_Baz2 : IGetFoo_Foo
public partial interface IGetFoo_Foo_Baz2 : IGetFoo_Foo
{
public global::System.String? Id
{
Expand All @@ -501,7 +501,7 @@ public interface IGetFoo_Foo_Baz2 : IGetFoo_Foo

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetFoo_Foo_Quox2 : IGetFoo_Foo
public partial interface IGetFoo_Foo_Quox2 : IGetFoo_Foo
{
public global::System.String? Foo
{
Expand Down Expand Up @@ -666,7 +666,7 @@ public GetFooQuery(global::StrawberryShake.IOperationExecutor<IGetFooResult> ope
/// </code>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetFooQuery : global::StrawberryShake.IOperationRequestFactory
public partial interface IGetFooQuery : global::StrawberryShake.IOperationRequestFactory
{
global::System.Threading.Tasks.Task<global::StrawberryShake.IOperationResult<IGetFooResult>> ExecuteAsync(global::System.Threading.CancellationToken cancellationToken = default);
global::System.IObservable<global::StrawberryShake.IOperationResult<IGetFooResult>> Watch(global::StrawberryShake.ExecutionStrategy? strategy = null);
Expand Down Expand Up @@ -694,7 +694,7 @@ public EntityIdOrDataClient(global::StrawberryShake.CodeGeneration.CSharp.Integr
/// Represents the EntityIdOrDataClient GraphQL client
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IEntityIdOrDataClient
public partial interface IEntityIdOrDataClient
{
global::StrawberryShake.CodeGeneration.CSharp.Integration.EntityIdOrData.IGetFooQuery GetFoo
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ public GetHero_Hero_Friends_Nodes_Human(global::System.String name)

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHeroResult
public partial interface IGetHeroResult
{
public global::StrawberryShake.CodeGeneration.CSharp.Integration.MultiProfile.IGetHero_Hero? Hero
{
Expand All @@ -638,7 +638,7 @@ public interface IGetHeroResult

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero
public partial interface IGetHero_Hero
{
public global::System.String Name
{
Expand All @@ -653,13 +653,13 @@ public interface IGetHero_Hero

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Droid : IGetHero_Hero
public partial interface IGetHero_Hero_Droid : IGetHero_Hero
{
}

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Human : IGetHero_Hero
public partial interface IGetHero_Hero_Human : IGetHero_Hero
{
}

Expand All @@ -668,7 +668,7 @@ public interface IGetHero_Hero_Human : IGetHero_Hero
/// A connection to a list of items.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends
public partial interface IGetHero_Hero_Friends
{
/// <summary>
/// A flattened list of the nodes.
Expand All @@ -684,13 +684,13 @@ public interface IGetHero_Hero_Friends
/// A connection to a list of items.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends_FriendsConnection : IGetHero_Hero_Friends
public partial interface IGetHero_Hero_Friends_FriendsConnection : IGetHero_Hero_Friends
{
}

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends_Nodes
public partial interface IGetHero_Hero_Friends_Nodes
{
public global::System.String Name
{
Expand All @@ -700,13 +700,13 @@ public interface IGetHero_Hero_Friends_Nodes

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends_Nodes_Droid : IGetHero_Hero_Friends_Nodes
public partial interface IGetHero_Hero_Friends_Nodes_Droid : IGetHero_Hero_Friends_Nodes
{
}

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends_Nodes_Human : IGetHero_Hero_Friends_Nodes
public partial interface IGetHero_Hero_Friends_Nodes_Human : IGetHero_Hero_Friends_Nodes
{
}

Expand Down Expand Up @@ -863,7 +863,7 @@ public OnReviewSub_OnReview_Review(global::System.String __typename, global::Sys

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IOnReviewSubResult
public partial interface IOnReviewSubResult
{
public global::StrawberryShake.CodeGeneration.CSharp.Integration.MultiProfile.IOnReviewSub_OnReview OnReview
{
Expand All @@ -873,7 +873,7 @@ public interface IOnReviewSubResult

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IOnReviewSub_OnReview
public partial interface IOnReviewSub_OnReview
{
/// <summary>
/// The name of the current Object type at runtime.
Expand All @@ -896,7 +896,7 @@ public interface IOnReviewSub_OnReview

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IOnReviewSub_OnReview_Review : IOnReviewSub_OnReview
public partial interface IOnReviewSub_OnReview_Review : IOnReviewSub_OnReview
{
}

Expand Down Expand Up @@ -1043,7 +1043,7 @@ public CreateReviewMut_CreateReview_Review(global::System.Int32 stars, global::S

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface ICreateReviewMutResult
public partial interface ICreateReviewMutResult
{
public global::StrawberryShake.CodeGeneration.CSharp.Integration.MultiProfile.ICreateReviewMut_CreateReview CreateReview
{
Expand All @@ -1053,7 +1053,7 @@ public interface ICreateReviewMutResult

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface ICreateReviewMut_CreateReview
public partial interface ICreateReviewMut_CreateReview
{
public global::System.Int32 Stars
{
Expand All @@ -1068,7 +1068,7 @@ public interface ICreateReviewMut_CreateReview

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface ICreateReviewMut_CreateReview_Review : ICreateReviewMut_CreateReview
public partial interface ICreateReviewMut_CreateReview_Review : ICreateReviewMut_CreateReview
{
}

Expand Down Expand Up @@ -1414,7 +1414,7 @@ public GetHeroQuery(global::StrawberryShake.IOperationExecutor<IGetHeroResult> o
/// </code>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHeroQuery : global::StrawberryShake.IOperationRequestFactory
public partial interface IGetHeroQuery : global::StrawberryShake.IOperationRequestFactory
{
global::System.Threading.Tasks.Task<global::StrawberryShake.IOperationResult<IGetHeroResult>> ExecuteAsync(global::System.Threading.CancellationToken cancellationToken = default);
global::System.IObservable<global::StrawberryShake.IOperationResult<IGetHeroResult>> Watch(global::StrawberryShake.ExecutionStrategy? strategy = null);
Expand Down Expand Up @@ -1523,7 +1523,7 @@ public OnReviewSubSubscription(global::StrawberryShake.IOperationExecutor<IOnRev
/// </code>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IOnReviewSubSubscription : global::StrawberryShake.IOperationRequestFactory
public partial interface IOnReviewSubSubscription : global::StrawberryShake.IOperationRequestFactory
{
global::System.IObservable<global::StrawberryShake.IOperationResult<IOnReviewSubResult>> Watch(global::StrawberryShake.ExecutionStrategy? strategy = null);
}
Expand Down Expand Up @@ -1659,7 +1659,7 @@ public CreateReviewMutMutation(global::StrawberryShake.IOperationExecutor<ICreat
/// </code>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface ICreateReviewMutMutation : global::StrawberryShake.IOperationRequestFactory
public partial interface ICreateReviewMutMutation : global::StrawberryShake.IOperationRequestFactory
{
global::System.Threading.Tasks.Task<global::StrawberryShake.IOperationResult<ICreateReviewMutResult>> ExecuteAsync(global::StrawberryShake.CodeGeneration.CSharp.Integration.MultiProfile.Episode episode, global::StrawberryShake.CodeGeneration.CSharp.Integration.MultiProfile.ReviewInput review, global::System.Threading.CancellationToken cancellationToken = default);
global::System.IObservable<global::StrawberryShake.IOperationResult<ICreateReviewMutResult>> Watch(global::StrawberryShake.CodeGeneration.CSharp.Integration.MultiProfile.Episode episode, global::StrawberryShake.CodeGeneration.CSharp.Integration.MultiProfile.ReviewInput review, global::StrawberryShake.ExecutionStrategy? strategy = null);
Expand Down Expand Up @@ -1693,7 +1693,7 @@ public MultiProfileClient(global::StrawberryShake.CodeGeneration.CSharp.Integrat
/// Represents the MultiProfileClient GraphQL client
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IMultiProfileClient
public partial interface IMultiProfileClient
{
global::StrawberryShake.CodeGeneration.CSharp.Integration.MultiProfile.IGetHeroQuery GetHero
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public GetHero_Hero_Friends_Nodes_Human(global::System.String name)

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHeroResult
public partial interface IGetHeroResult
{
public global::StrawberryShake.CodeGeneration.CSharp.Integration.StarWarsGetFriendsNoStore.IGetHero_Hero? Hero
{
Expand All @@ -541,7 +541,7 @@ public interface IGetHeroResult

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero
public partial interface IGetHero_Hero
{
public global::System.String Name
{
Expand All @@ -556,13 +556,13 @@ public interface IGetHero_Hero

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Droid : IGetHero_Hero
public partial interface IGetHero_Hero_Droid : IGetHero_Hero
{
}

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Human : IGetHero_Hero
public partial interface IGetHero_Hero_Human : IGetHero_Hero
{
}

Expand All @@ -571,7 +571,7 @@ public interface IGetHero_Hero_Human : IGetHero_Hero
/// A connection to a list of items.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends
public partial interface IGetHero_Hero_Friends
{
/// <summary>
/// A flattened list of the nodes.
Expand All @@ -587,13 +587,13 @@ public interface IGetHero_Hero_Friends
/// A connection to a list of items.
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends_FriendsConnection : IGetHero_Hero_Friends
public partial interface IGetHero_Hero_Friends_FriendsConnection : IGetHero_Hero_Friends
{
}

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends_Nodes
public partial interface IGetHero_Hero_Friends_Nodes
{
public global::System.String Name
{
Expand All @@ -603,13 +603,13 @@ public interface IGetHero_Hero_Friends_Nodes

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends_Nodes_Droid : IGetHero_Hero_Friends_Nodes
public partial interface IGetHero_Hero_Friends_Nodes_Droid : IGetHero_Hero_Friends_Nodes
{
}

// StrawberryShake.CodeGeneration.CSharp.Generators.ResultInterfaceGenerator
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHero_Hero_Friends_Nodes_Human : IGetHero_Hero_Friends_Nodes
public partial interface IGetHero_Hero_Friends_Nodes_Human : IGetHero_Hero_Friends_Nodes
{
}

Expand Down Expand Up @@ -740,7 +740,7 @@ public GetHeroQuery(global::StrawberryShake.IOperationExecutor<IGetHeroResult> o
/// </code>
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IGetHeroQuery : global::StrawberryShake.IOperationRequestFactory
public partial interface IGetHeroQuery : global::StrawberryShake.IOperationRequestFactory
{
global::System.Threading.Tasks.Task<global::StrawberryShake.IOperationResult<IGetHeroResult>> ExecuteAsync(global::System.Threading.CancellationToken cancellationToken = default);
global::System.IObservable<global::StrawberryShake.IOperationResult<IGetHeroResult>> Watch(global::StrawberryShake.ExecutionStrategy? strategy = null);
Expand Down Expand Up @@ -768,7 +768,7 @@ public StarWarsGetFriendsNoStoreClient(global::StrawberryShake.CodeGeneration.CS
/// Represents the StarWarsGetFriendsNoStoreClient GraphQL client
/// </summary>
[global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "11.0.0")]
public interface IStarWarsGetFriendsNoStoreClient
public partial interface IStarWarsGetFriendsNoStoreClient
{
global::StrawberryShake.CodeGeneration.CSharp.Integration.StarWarsGetFriendsNoStore.IGetHeroQuery GetHero
{
Expand Down
Loading