graphqld v2.1.2 (2020-02-06T16:16:39Z)
Dub
Repo
Character
graphql
starwars
types
Undocumented in source.
@
safe
abstract
@
GQLDUda
(
GQLDDescription
("A character in the Star Wars Trilogy"),
TypeKind
.
INTERFACE
)
class
Character {
@
GQLDUda
(
GQLDDescription
("The id of the character"))
string
id
;
@
GQLDUda
(
GQLDDescription
("The name of the character"))
Nullable
!
string
name
;
@
GQLDUda
(
GQLDDescription
("The friends of the character, or an empty list if " ~ "they have none."))
NullableStore
!(
Nullable
!(
Nullable
!(
Character
)[]))
friends
;
@
GQLDUda
(
Ignore
.
yes
)
string
[]
friendsId
;
@
GQLDUda
(
GQLDDescription
("Which movies they appear in."))
Nullable
!(
Nullable
!(
Episode
)[])
appearsIn
;
@
GQLDUda
(
GQLDDescription
("Where are they from and how they came to be who they " ~ " are."))
Nullable
!
string
secretBackstory
;
this
(string id, string name, string[] friends, int[] appearsIn);
}
Constructors
this
this
(string id, string name, string[] friends, int[] appearsIn)
Undocumented in source.
Members
Variables
appearsIn
Nullable
!(
Nullable
!(
Episode
)[])
appearsIn
;
Undocumented in source.
friends
NullableStore
!(
Nullable
!(
Nullable
!(
Character
)[]))
friends
;
Undocumented in source.
friendsId
string
[]
friendsId
;
Undocumented in source.
id
string
id
;
Undocumented in source.
name
Nullable
!
string
name
;
Undocumented in source.
secretBackstory
Nullable
!
string
secretBackstory
;
Undocumented in source.
Meta
Source
See Implementation
graphql
starwars
types
classes
Character
Droid
Human
enums
Episode