Skip to content

Bounty Question Indexing - State Controller  #123

Description

@gnomadic

Refactor StateController and Bounty Question to support:

takeaways:

Controllers can "index questions" by their needs- so stateController will index by state and voteController can index by votes.

usually a mapping to the QuestionID[]

Then, the BountyQuestion can provide functionality to loop through an array of questionIDs[] and return a Question[]. Can add offset/limit parameters, and ss long as this is a view function we should be good to go.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions