Skip to content

Commit db8b301

Browse files
author
Raul Hidalgo Caballero
committed
Doc Subscriptions, mark as experimental
1 parent bb0b734 commit db8b301

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

src/GraphQL.Common/Request/GraphQLSubscriptionRequest.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,25 @@
33

44
namespace GraphQL.Common.Request {
55

6+
/// <summary>
7+
/// A Subscription Request
8+
/// </summary>
9+
[Obsolete("EXPERIMENTAL")]
610
public class GraphQLSubscriptionRequest : IEquatable<GraphQLSubscriptionRequest> {
711

12+
/// <summary>
13+
/// The Identifier of the Response
14+
/// </summary>
815
public string Id { get; set; }
916

17+
/// <summary>
18+
/// The Type of the Request
19+
/// </summary>
1020
public string Type { get; set; }
1121

22+
/// <summary>
23+
/// The Payload of the Request
24+
/// </summary>
1225
public GraphQLRequest Payload { get; set; }
1326

1427
/// <inheritdoc />

src/GraphQL.Common/Response/GraphQLSubscriptionResponse.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,25 @@
33

44
namespace GraphQL.Common.Response {
55

6+
/// <summary>
7+
/// A Subscription Response
8+
/// </summary>
9+
[Obsolete("EXPERIMENTAL")]
610
public class GraphQLSubscriptionResponse : IEquatable<GraphQLSubscriptionResponse> {
711

12+
/// <summary>
13+
/// The Identifier of the Response
14+
/// </summary>
815
public string Id { get; set; }
916

17+
/// <summary>
18+
/// The Type of the Response
19+
/// </summary>
1020
public string Type { get; set; }
1121

22+
/// <summary>
23+
/// The Payload of the Response
24+
/// </summary>
1225
public GraphQLResponse Payload { get; set; }
1326

1427
/// <inheritdoc />

0 commit comments

Comments
 (0)