type Project {
name: String
tagline: String
contributors: [User]
}
mutation updateMyUrbanEvent($studyArea: PolygonInput!, $myDescription: String!) {
updateProjects(
urbanDatabaseId : "9c3ba6c054f945acabd1256bcbcf8XXX"
projects : [{ attributes: { GlobalID: "078D217A-1764-4AA2-9D23-6FCDA01F0XXX", Description: $myDescription }, geometry: $studyArea }]
) {
attributes {
GlobalID
CustomID
Description
}
geometry {
rings
}
}
}
query HeroForEpisode($ep: Episode!) {
hero(episode: $ep) {
name
... on Droid {
primaryFunction
}
... on Human {
height
}
}
}
fragment comparisonFields on Character {
name
friendsConnection(first: $first) {
totalCount
edges {
node {
name
}
}
}
}