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 e83505f commit cce9819Copy full SHA for cce9819
PocketKit/Sources/PocketGraph/Schema/InputObjects/EditNoteTitleInput.graphql.swift
@@ -12,7 +12,7 @@ public struct EditNoteTitleInput: InputObject {
12
13
public init(
14
id: ID,
15
- title: String,
+ title: GraphQLNullable<String> = nil,
16
updatedAt: GraphQLNullable<ISOString> = nil
17
) {
18
__data = InputDict([
@@ -28,8 +28,9 @@ public struct EditNoteTitleInput: InputObject {
28
set { __data["id"] = newValue }
29
}
30
31
- /// The new title for the note (can be an empty string)
32
- public var title: String {
+ /// The new title for the note. If null, sets the title
+ /// field to null (deletes it).
33
+ public var title: GraphQLNullable<String> {
34
get { __data["title"] }
35
set { __data["title"] = newValue }
36
0 commit comments