Poll

Poll Resource

Implements

Fields

id (ID!)
question (String!)
isOpen (Boolean!)
createdOn (String)
Argument Type Description
format String
lastUpdated (String)
totalVotes (Int)
options ([PollOption!])
hasVoted (PollOption)

Query if user has voted on Poll, if so return voted option

Argument Type Description
userId ID!