Skip to content

Commit 4d7e52f

Browse files
committed
fix: move deprecation warning into a regular comment
1 parent b11633c commit 4d7e52f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

packages/api-headless-cms/src/graphql/schema/baseSchema.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,17 @@ const createSchema = (plugins: PluginsContainer): GraphQLSchemaPlugin<CmsContext
106106
}
107107
108108
input CmsPublishEntryOptionsInput {
109-
# By default, updatePublishedOn is true. User can set it to false to skip the publishedOn field update.
109+
"""
110+
By default, updatePublishedOn is true. User can set it to false to skip the publishedOn field update.
111+
Note that this input field is deprecated and will be removed in one of future releases.
112+
"""
110113
updatePublishedOn: Boolean
111-
@deprecated(reason: "Will be removed in one of future releases.")
112-
# By default, updateSavedOn is true. User can set it to false to skip the publishedOn field update.
114+
115+
"""
116+
By default, updateSavedOn is true. User can set it to false to skip the savedOn field update.
117+
Note that this input field is deprecated and will be removed in one of future releases.
118+
"""
113119
updateSavedOn: Boolean
114-
@deprecated(reason: "Will be removed in one of future releases.")
115120
}
116121
117122
input CmsIdentityInput {

0 commit comments

Comments
 (0)