Skip to content

Making the api client generic in decidim-module-liquidvoting #66

Answered by oliverbarnes
davefrey asked this question in Ideas
Discussion options

You must be logged in to vote

If user_proposal_state is generic enough that other platforms would use, I'd go for it. If we then integrate with, say, Consul, and we then have to jump hoops to keep it generic, then probably this shouldn't be in the client. My feeling at this point is that only the CRUD methods are safely generic enough.

Going over the boundaries:

  • I see the client.rb / ruby-client as solely the generic API client
  • decidim-module-liquidvoting as the "decidim-lv-client"
  • Decidim itself

Besides solving the api client's scope so it can be gemified, there's the issue of distinguishing what is LV specific stuff within the module. Some stuff is clear, like the client calls to create votes.

Then there's the Pro…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by oliverbarnes
Comment options

davefrey
Mar 30, 2021
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants