Skip to content

Commit 8f07f3d

Browse files
Apply suggestions from code review
Co-authored-by: Darrell Warde <[email protected]>
1 parent 88b3284 commit 8f07f3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ROOT/pages/directives/schema-configuration/type-configuration.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ enum SubscriptionFields {
122122
DELETE_RELATIONSHIP
123123
}
124124
125-
directive @subscription(events: [SubscriptionFields!]! = [CREATE, UPDATE, DELETE, CREATE_RELATIONSHIP, DELETE_RELATIONSHIP]) on OBJECT | SCHEMA
125+
directive @subscription(events: [SubscriptionFields!]! = [CREATED, UPDATED, DELETED, RELATIONSHIP_CREATED, RELATIONSHIP_DELETED]) on OBJECT | SCHEMA
126126
----
127127

128128
=== Usage
@@ -139,7 +139,7 @@ type Movie @subscription(events: []) {
139139
.Enable only _movieCreated_ subscription for _Movie_
140140
[source, graphql, indent=0]
141141
----
142-
type Movie @subscription(events: [CREATE]) {
142+
type Movie @subscription(events: [CREATED]) {
143143
title: String
144144
length: Int
145145
}

0 commit comments

Comments
 (0)