ShenaniganDApp / shenanigan-monorepo

17 stars 4 forks source link

Refactor Vote Period Logic in backend #346

Closed youngkidwarrior closed 2 years ago

youngkidwarrior commented 3 years ago

Use the filter mapping to to filter votes based on challengeSeries and choice.

figure out how to filter a connection in ChallengeFilterInput. If not possible, filter all votes or create a datattype called VotePeriod to make the query dataset smaller