Skip to content

Commit b20e4c9

Browse files
committed
MC-18945: Reading deprecated annotation in schema
- added the schema changes
1 parent 4185399 commit b20e4c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/DownloadableGraphQl/etc/schema.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ type DownloadableProduct implements ProductInterface, CustomizableProductInterfa
5353
links_title: String @doc(description: "The heading above the list of downloadable products")
5454
}
5555

56-
enum DownloadableFileTypeEnum {
56+
enum DownloadableFileTypeEnum @deprecated(reason: "`sample_url` serves to get the downloadable sample") {
5757
FILE @deprecated(reason: "`sample_url` serves to get the downloadable sample")
58-
URL
58+
URL @deprecated(reason: "`sample_url` serves to get the downloadable sample")
5959
}
6060

6161
type DownloadableProductLinks @doc(description: "DownloadableProductLinks defines characteristics of a downloadable product") {

0 commit comments

Comments
 (0)