Skip to content

Commit

Permalink
Update deprecation message to use correct type name
Browse files Browse the repository at this point in the history
  • Loading branch information
thompsonmatthew-heb committed Nov 7, 2023
1 parent b5185b9 commit 99ff51f
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,7 @@ extension ApolloCodegenConfiguration.ConversionStrategies {

/// ``CaseConversionStrategy`` is used to specify the strategy used to convert the casing of
/// GraphQL schema values into generated Swift code.
@available(*, deprecated, message: "Use EnumCaseConversionStrategy instead.")
@available(*, deprecated, message: "Use EnumCases instead.")
public enum CaseConversionStrategy: String, Codable, Equatable {
/// Generates swift code using the exact name provided in the GraphQL schema
/// performing no conversion.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,14 @@
"text" : " conforms to ",
"type" : "text"
},
{
"code" : "AnyScalarType",
"type" : "codeVoice"
},
{
"text" : " and ",
"type" : "text"
},
{
"code" : "Hashable",
"type" : "codeVoice"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"defaultImplementationsSections" : [
{
"identifiers" : [
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-370r3",
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-5e63x",
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-370r3",
"doc:\/\/ApolloAPI\/documentation\/ApolloAPI\/GraphQLOperation\/operationType-90ybj"
],
"title" : "GraphQLOperation Implementations"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@
"type" : "text"
},
{
"code" : "AnyScalarType",
"code" : "JSONEncodable",
"type" : "codeVoice"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@
"text" : " conforms to ",
"type" : "text"
},
{
"code" : "AnyScalarType",
"type" : "codeVoice"
},
{
"text" : " and ",
"type" : "text"
},
{
"code" : "Hashable",
"type" : "codeVoice"
Expand Down Expand Up @@ -446,7 +454,7 @@
"type" : "text"
},
{
"code" : "AnyScalarType",
"code" : "JSONEncodable",
"type" : "codeVoice"
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
{
"inlineContent" : [
{
"text" : "Use EnumCaseConversionStrategy instead.",
"text" : "Use EnumCases instead.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{
"inlineContent" : [
{
"text" : "Use EnumCaseConversionStrategy instead.",
"text" : "Use EnumCases instead.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"inlineContent" : [
{
"text" : "Use EnumCaseConversionStrategy instead.",
"text" : "Use EnumCases instead.",
"type" : "text"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"inlineContent" : [
{
"text" : "Use EnumCaseConversionStrategy instead.",
"text" : "Use EnumCases instead.",
"type" : "text"
}
],
Expand Down

0 comments on commit 99ff51f

Please sign in to comment.