Skip to content

Commit 8f18b3d

Browse files
authored
fix: update SubscriptionFields to match directive values (#162)
closes: #159
1 parent 9b4efde commit 8f18b3d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ This directive is used to limit subscription operations in the library.
115115
[source, graphql, indent=0]
116116
----
117117
enum SubscriptionFields {
118-
CREATE
119-
UPDATE
120-
DELETE
121-
CREATE_RELATIONSHIP
122-
DELETE_RELATIONSHIP
118+
CREATED
119+
UPDATED
120+
DELETED
121+
RELATIONSHIP_CREATED
122+
RELATIONSHIP_DELETED
123123
}
124124
125125
directive @subscription(events: [SubscriptionFields!]! = [CREATED, UPDATED, DELETED, RELATIONSHIP_CREATED, RELATIONSHIP_DELETED]) on OBJECT | SCHEMA
@@ -210,4 +210,4 @@ This way, instead of the wrongly generated `teches`, the type is properly writte
210210
----
211211

212212
The same is applied to other operations such as `createTechs`.
213-
However, keep in mind that database labels are not changed with this directive.
213+
However, keep in mind that database labels are not changed with this directive.

0 commit comments

Comments
 (0)