We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e25e56 commit cc44dfdCopy full SHA for cc44dfd
1 file changed
Sources/GraphQL/Type/Directives.swift
@@ -108,7 +108,7 @@ public let GraphQLSkipDirective = try! GraphQLDirective(
108
/**
109
* Constant string used for default reason for a deprecation.
110
*/
111
-let defaulDeprecationReason: Map = "No longer supported"
+let defaultDeprecationReason = "No longer supported"
112
113
114
* Used to declare element of a GraphQL schema as deprecated.
@@ -131,7 +131,7 @@ public let GraphQLDeprecatedDirective = try! GraphQLDirective(
131
"suggestion for how to access supported similar data. Formatted " +
132
"using the Markdown syntax, as specified by [CommonMark]" +
133
"(https://commonmark.org/).",
134
- defaultValue: defaulDeprecationReason
+ defaultValue: Map.string(defaultDeprecationReason)
135
),
136
]
137
)
0 commit comments