api: Make cursors non-null.
This is more consistent with other services.
This commit is contained in:
parent
c14bc1e326
commit
5da42f9448
|
@ -81,10 +81,10 @@ type User implements Entity {
|
|||
bio: String
|
||||
|
||||
list(name: String!): MailingList @access(scope: LISTS, kind: RO)
|
||||
lists(cursor: Cursor): MailingListCursor @access(scope: LISTS, kind: RO)
|
||||
emails(cursor: Cursor): EmailCursor @access(scope: EMAILS, kind: RO)
|
||||
threads(cursor: Cursor): ThreadCursor @access(scope: EMAILS, kind: RO)
|
||||
patches(cursor: Cursor): PatchsetCursor @access(scope: PATCHES, kind: RO)
|
||||
lists(cursor: Cursor): MailingListCursor! @access(scope: LISTS, kind: RO)
|
||||
emails(cursor: Cursor): EmailCursor! @access(scope: EMAILS, kind: RO)
|
||||
threads(cursor: Cursor): ThreadCursor! @access(scope: EMAILS, kind: RO)
|
||||
patches(cursor: Cursor): PatchsetCursor! @access(scope: PATCHES, kind: RO)
|
||||
}
|
||||
|
||||
"A mailbox not associated with a registered user"
|
||||
|
|
Loading…
Reference in New Issue