diff --git a/CHANGELOG.md b/CHANGELOG.md index 52e5227dd..eed4a2e4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## v1.2.1 + +### Improved +- **Added new validation to alert users to type naming conflict when running code generation([#2405](https://github.com/apollographql/apollo-ios/issues/2405)):** See PR [#3041](https://github.com/apollographql/apollo-ios/pull/3041). + +### Fixed +- **Int values failing to cast to Scalar Type during cache key resolution ([#3034](https://github.com/apollographql/apollo-ios/issues/3034)):** See PR [#3037](https://github.com/apollographql/apollo-ios/pull/3037). _Thank you to [@asbhat](https://github.com/asbhat) for raising the issue._ +- **Fix malformed RootEntityType on generated fragment with `@include` condition. ([#2962](https://github.com/apollographql/apollo-ios/issues/2962)):** See PR [#3045](https://github.com/apollographql/apollo-ios/pull/3045). _Thank you to [@alexisbronchart](https://github.com/alexisbronchart) for raising the issue._ + + ## v1.2 Though 1.2 is a minor version bump, a critical problem was addressed in this version that requires a small breaking change during the upgrade. While we strive to make the upgrade path for minor versions seamless, this issue could not be reasonably resolved without requiring this migration. diff --git a/Configuration/Shared/Project-Version.xcconfig b/Configuration/Shared/Project-Version.xcconfig index 78e58d8b4..9f689cab0 100644 --- a/Configuration/Shared/Project-Version.xcconfig +++ b/Configuration/Shared/Project-Version.xcconfig @@ -1 +1 @@ -CURRENT_PROJECT_VERSION = 1.2.0 +CURRENT_PROJECT_VERSION = 1.2.1 diff --git a/Sources/CodegenCLI/Constants.swift b/Sources/CodegenCLI/Constants.swift index 45ec02b1b..3f6277898 100644 --- a/Sources/CodegenCLI/Constants.swift +++ b/Sources/CodegenCLI/Constants.swift @@ -1,6 +1,6 @@ import Foundation public enum Constants { - public static let CLIVersion: String = "1.2.0" + public static let CLIVersion: String = "1.2.1" static let defaultFilePath: String = "./apollo-codegen-config.json" } diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/compilationresult/operationdefinition.json b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/compilationresult/operationdefinition.json index 24c321833..abd47a4d2 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/compilationresult/operationdefinition.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/compilationresult/operationdefinition.json @@ -85,7 +85,8 @@ { "identifiers" : [ "doc:\/\/ApolloCodegenLib\/s28CustomDebugStringConvertibleP", - "doc:\/\/ApolloCodegenLib\/SQ" + "doc:\/\/ApolloCodegenLib\/SQ", + "doc:\/\/ApolloCodegenLib\/SH" ], "kind" : "relationships", "title" : "Conforms To", @@ -113,6 +114,12 @@ ], "title" : "Instance Properties" }, + { + "identifiers" : [ + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/CompilationResult\/OperationDefinition\/hash(into:)" + ], + "title" : "Instance Methods" + }, { "generated" : true, "identifiers" : [ @@ -135,6 +142,11 @@ ] , "references": { +"doc://ApolloCodegenLib/SH": { + "identifier" : "doc:\/\/ApolloCodegenLib\/SH", + "title" : "Swift.Hashable", + "type" : "unresolvable" +}, "doc://ApolloCodegenLib/SQ": { "identifier" : "doc:\/\/ApolloCodegenLib\/SQ", "title" : "Swift.Equatable", @@ -346,6 +358,60 @@ "type" : "topic", "url" : "\/documentation\/apollocodegenlib\/compilationresult\/operationdefinition\/debugdescription" }, +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/CompilationResult/OperationDefinition/hash(into:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "hash" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "into" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s6HasherV", + "text" : "Hasher" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/CompilationResult\/OperationDefinition\/hash(into:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "hash(into:)", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib\/compilationresult\/operationdefinition\/hash(into:)" +}, "doc://ApolloCodegenLib/documentation/ApolloCodegenLib/JavaScriptObject": { "abstract" : [ { diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/compilationresult/operationdefinition/hash(into:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/compilationresult/operationdefinition/hash(into:).json new file mode 100644 index 000000000..0ca015417 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/compilationresult/operationdefinition/hash(into:).json @@ -0,0 +1,307 @@ +{ + "abstract" : [ + { + "text" : "Inherited from ", + "type" : "text" + }, + { + "code" : "Hashable.hash(into:)", + "type" : "codeVoice" + }, + { + "text" : ".", + "type" : "text" + } + ], + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib", + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/CompilationResult", + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/CompilationResult\/OperationDefinition" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/CompilationResult\/OperationDefinition\/hash(into:)" + }, + "kind" : "symbol", + "metadata" : { + "externalID" : "s:16ApolloCodegenLib17CompilationResultC19OperationDefinitionC4hash4intoys6HasherVz_tF", + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "hash" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "into" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s6HasherV", + "text" : "Hasher" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "modules" : [ + { + "name" : "ApolloCodegenLib" + } + ], + "role" : "symbol", + "roleHeading" : "Instance Method", + "symbolKind" : "method", + "title" : "hash(into:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "hash" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "into" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "hasher" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s6HasherV", + "text" : "Hasher" + }, + { + "kind" : "text", + "text" : ")" + } + ] + } + ], + "kind" : "declarations" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollocodegenlib\/compilationresult\/operationdefinition\/hash(into:)" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib": { + "abstract" : [ + { + "text" : "A robust code generation engine for GraphQL operations.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib", + "kind" : "symbol", + "role" : "collection", + "title" : "ApolloCodegenLib", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib" +}, +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/CompilationResult": { + "abstract" : [ + { + "text" : "The output of the frontend compiler.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "CompilationResult" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/CompilationResult", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "CompilationResult" + } + ], + "role" : "symbol", + "title" : "CompilationResult", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib\/compilationresult" +}, +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/CompilationResult/OperationDefinition": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "class" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "OperationDefinition" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/CompilationResult\/OperationDefinition", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "OperationDefinition" + } + ], + "role" : "symbol", + "title" : "CompilationResult.OperationDefinition", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib\/compilationresult\/operationdefinition" +}, +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/CompilationResult/OperationDefinition/hash(into:)": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "func" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "hash" + }, + { + "kind" : "text", + "text" : "(" + }, + { + "kind" : "externalParam", + "text" : "into" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "keyword", + "text" : "inout" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:s6HasherV", + "text" : "Hasher" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/CompilationResult\/OperationDefinition\/hash(into:)", + "kind" : "symbol", + "role" : "symbol", + "title" : "hash(into:)", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib\/compilationresult\/operationdefinition\/hash(into:)" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist.json b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist.json index 03558550c..08c72968d 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist.json @@ -166,8 +166,8 @@ }, { "identifiers" : [ - "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)", - "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(array:)", + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)-3ehg", + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)-56j3m", "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(arrayLiteral:)" ], "title" : "Initializers" @@ -796,7 +796,7 @@ "type" : "topic", "url" : "\/documentation\/apollocodegenlib\/linkedlist\/head" }, -"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/init(_:)": { +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/init(_:)-3ehg": { "abstract" : [ ], @@ -818,14 +818,14 @@ "text" : ")" } ], - "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)", + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)-3ehg", "kind" : "symbol", "role" : "symbol", "title" : "init(_:)", "type" : "topic", - "url" : "\/documentation\/apollocodegenlib\/linkedlist\/init(_:)" + "url" : "\/documentation\/apollocodegenlib\/linkedlist\/init(_:)-3ehg" }, -"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/init(array:)": { +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/init(_:)-56j3m": { "abstract" : [ ], @@ -836,31 +836,31 @@ }, { "kind" : "text", - "text" : "(" + "text" : "<" }, { - "kind" : "externalParam", - "text" : "array" + "kind" : "genericParameter", + "text" : "C" }, { "kind" : "text", - "text" : ": [" + "text" : ">(" }, { "kind" : "typeIdentifier", - "text" : "T" + "text" : "C" }, { "kind" : "text", - "text" : "])" + "text" : ")" } ], - "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(array:)", + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)-56j3m", "kind" : "symbol", "role" : "symbol", - "title" : "init(array:)", + "title" : "init(_:)", "type" : "topic", - "url" : "\/documentation\/apollocodegenlib\/linkedlist\/init(array:)" + "url" : "\/documentation\/apollocodegenlib\/linkedlist\/init(_:)-56j3m" }, "doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/init(arrayLiteral:)": { "abstract" : [ diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(_:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(_:)-3ehg.json similarity index 97% rename from docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(_:).json rename to docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(_:)-3ehg.json index d18f2f54b..a4ec112ac 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(_:).json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(_:)-3ehg.json @@ -9,7 +9,7 @@ }, "identifier" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)" + "url" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)-3ehg" }, "kind" : "symbol", "metadata" : { @@ -102,7 +102,7 @@ "variants" : [ { "paths" : [ - "\/documentation\/apollocodegenlib\/linkedlist\/init(_:)" + "\/documentation\/apollocodegenlib\/linkedlist\/init(_:)-3ehg" ], "traits" : [ { @@ -161,7 +161,7 @@ "type" : "topic", "url" : "\/documentation\/apollocodegenlib\/linkedlist" }, -"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/init(_:)": { +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/init(_:)-3ehg": { "abstract" : [ ], @@ -183,12 +183,12 @@ "text" : ")" } ], - "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)", + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)-3ehg", "kind" : "symbol", "role" : "symbol", "title" : "init(_:)", "type" : "topic", - "url" : "\/documentation\/apollocodegenlib\/linkedlist\/init(_:)" + "url" : "\/documentation\/apollocodegenlib\/linkedlist\/init(_:)-3ehg" } } } \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(_:)-56j3m.json b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(_:)-56j3m.json new file mode 100644 index 000000000..1b19ef545 --- /dev/null +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(_:)-56j3m.json @@ -0,0 +1,263 @@ +{ + "hierarchy" : { + "paths" : [ + [ + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib", + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList" + ] + ] + }, + "identifier" : { + "interfaceLanguage" : "swift", + "url" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)-56j3m" + }, + "kind" : "symbol", + "metadata" : { + "externalID" : "s:16ApolloCodegenLib10LinkedListVyACyxGqd__c7ElementQyd__RszSlRd__lufc", + "fragments" : [ + { + "kind" : "identifier", + "text" : "init" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "C" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "typeIdentifier", + "text" : "C" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "modules" : [ + { + "name" : "ApolloCodegenLib" + } + ], + "role" : "symbol", + "roleHeading" : "Initializer", + "symbolKind" : "init", + "title" : "init(_:)" + }, + "primaryContentSections" : [ + { + "declarations" : [ + { + "languages" : [ + "swift" + ], + "platforms" : [ + "macOS" + ], + "tokens" : [ + { + "kind" : "keyword", + "text" : "init" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "C" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "externalParam", + "text" : "_" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "internalParam", + "text" : "collection" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "text" : "C" + }, + { + "kind" : "text", + "text" : ") " + }, + { + "kind" : "keyword", + "text" : "where" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "typeIdentifier", + "text" : "T" + }, + { + "kind" : "text", + "text" : " == " + }, + { + "kind" : "typeIdentifier", + "text" : "C" + }, + { + "kind" : "text", + "text" : "." + }, + { + "kind" : "typeIdentifier", + "text" : "Element" + }, + { + "kind" : "text", + "text" : ", " + }, + { + "kind" : "typeIdentifier", + "text" : "C" + }, + { + "kind" : "text", + "text" : " : " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sl", + "text" : "Collection" + } + ] + } + ], + "kind" : "declarations" + } + ], + "schemaVersion" : { + "major" : 0, + "minor" : 3, + "patch" : 0 + }, + "sections" : [ + + ], + "variants" : [ + { + "paths" : [ + "\/documentation\/apollocodegenlib\/linkedlist\/init(_:)-56j3m" + ], + "traits" : [ + { + "interfaceLanguage" : "swift" + } + ] + } + ] +, +"references": { +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib": { + "abstract" : [ + { + "text" : "A robust code generation engine for GraphQL operations.", + "type" : "text" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib", + "kind" : "symbol", + "role" : "collection", + "title" : "ApolloCodegenLib", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib" +}, +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList": { + "abstract" : [ + { + "text" : "A doubly linked list implementation.", + "type" : "text" + } + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "struct" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "LinkedList" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "LinkedList" + } + ], + "role" : "symbol", + "title" : "LinkedList", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib\/linkedlist" +}, +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/init(_:)-56j3m": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "identifier", + "text" : "init" + }, + { + "kind" : "text", + "text" : "<" + }, + { + "kind" : "genericParameter", + "text" : "C" + }, + { + "kind" : "text", + "text" : ">(" + }, + { + "kind" : "typeIdentifier", + "text" : "C" + }, + { + "kind" : "text", + "text" : ")" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(_:)-56j3m", + "kind" : "symbol", + "role" : "symbol", + "title" : "init(_:)", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib\/linkedlist\/init(_:)-56j3m" +} +} +} \ No newline at end of file diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/node.json b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/node.json index 5476e3967..71bb4e327 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/node.json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/node.json @@ -97,6 +97,7 @@ "topicSections" : [ { "identifiers" : [ + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/Node\/isHead", "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/Node\/next", "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/Node\/previous", "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/Node\/value" @@ -266,6 +267,40 @@ "type" : "topic", "url" : "\/documentation\/apollocodegenlib\/linkedlist\/node\/sequence-implementations" }, +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/Node/isHead": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" + }, + { + "kind" : "text", + "text" : " " + }, + { + "kind" : "identifier", + "text" : "isHead" + }, + { + "kind" : "text", + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/Node\/isHead", + "kind" : "symbol", + "role" : "symbol", + "title" : "isHead", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib\/linkedlist\/node\/ishead" +}, "doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/Node/next": { "abstract" : [ diff --git a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(array:).json b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/node/ishead.json similarity index 62% rename from docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(array:).json rename to docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/node/ishead.json index e126d8628..d2c5f8a2a 100644 --- a/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/init(array:).json +++ b/docs/docc/Apollo.doccarchive/data/documentation/apollocodegenlib/linkedlist/node/ishead.json @@ -3,41 +3,39 @@ "paths" : [ [ "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib", - "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList" + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList", + "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/Node" ] ] }, "identifier" : { "interfaceLanguage" : "swift", - "url" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(array:)" + "url" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/Node\/isHead" }, "kind" : "symbol", "metadata" : { - "externalID" : "s:16ApolloCodegenLib10LinkedListV5arrayACyxGSayxG_tcfc", + "externalID" : "s:16ApolloCodegenLib10LinkedListV4NodeC6isHeadSbvp", "fragments" : [ { - "kind" : "identifier", - "text" : "init" + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "array" + "kind" : "identifier", + "text" : "isHead" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "T" - }, - { - "kind" : "text", - "text" : "])" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], "modules" : [ @@ -46,9 +44,9 @@ } ], "role" : "symbol", - "roleHeading" : "Initializer", - "symbolKind" : "init", - "title" : "init(array:)" + "roleHeading" : "Instance Property", + "symbolKind" : "property", + "title" : "isHead" }, "primaryContentSections" : [ { @@ -63,27 +61,36 @@ "tokens" : [ { "kind" : "keyword", - "text" : "init" + "text" : "var" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "array" + "kind" : "identifier", + "text" : "isHead" }, { "kind" : "text", - "text" : ": [" + "text" : ": " }, { "kind" : "typeIdentifier", - "text" : "T" + "preciseIdentifier" : "s:Sb", + "text" : "Bool" }, { "kind" : "text", - "text" : "])" + "text" : " { " + }, + { + "kind" : "keyword", + "text" : "get" + }, + { + "kind" : "text", + "text" : " }" } ] } @@ -102,7 +109,7 @@ "variants" : [ { "paths" : [ - "\/documentation\/apollocodegenlib\/linkedlist\/init(array:)" + "\/documentation\/apollocodegenlib\/linkedlist\/node\/ishead" ], "traits" : [ { @@ -161,42 +168,70 @@ "type" : "topic", "url" : "\/documentation\/apollocodegenlib\/linkedlist" }, -"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/init(array:)": { +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/Node": { "abstract" : [ ], "fragments" : [ { - "kind" : "identifier", - "text" : "init" + "kind" : "keyword", + "text" : "class" }, { "kind" : "text", - "text" : "(" + "text" : " " }, { - "kind" : "externalParam", - "text" : "array" + "kind" : "identifier", + "text" : "Node" + } + ], + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/Node", + "kind" : "symbol", + "navigatorTitle" : [ + { + "kind" : "identifier", + "text" : "Node" + } + ], + "role" : "symbol", + "title" : "LinkedList.Node", + "type" : "topic", + "url" : "\/documentation\/apollocodegenlib\/linkedlist\/node" +}, +"doc://ApolloCodegenLib/documentation/ApolloCodegenLib/LinkedList/Node/isHead": { + "abstract" : [ + + ], + "fragments" : [ + { + "kind" : "keyword", + "text" : "var" }, { "kind" : "text", - "text" : ": [" + "text" : " " }, { - "kind" : "typeIdentifier", - "text" : "T" + "kind" : "identifier", + "text" : "isHead" }, { "kind" : "text", - "text" : "])" + "text" : ": " + }, + { + "kind" : "typeIdentifier", + "preciseIdentifier" : "s:Sb", + "text" : "Bool" } ], - "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/init(array:)", + "identifier" : "doc:\/\/ApolloCodegenLib\/documentation\/ApolloCodegenLib\/LinkedList\/Node\/isHead", "kind" : "symbol", "role" : "symbol", - "title" : "init(array:)", + "title" : "isHead", "type" : "topic", - "url" : "\/documentation\/apollocodegenlib\/linkedlist\/init(array:)" + "url" : "\/documentation\/apollocodegenlib\/linkedlist\/node\/ishead" } } } \ No newline at end of file