Poll
Poll Resource
Implements
Fields
id (
ID!
)
question (
String!
)
isOpen (
Boolean!
)
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!
|