Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resources: allow to attach actions as parameter #37

Open
ppanero opened this issue Jun 18, 2020 · 0 comments
Open

resources: allow to attach actions as parameter #37

ppanero opened this issue Jun 18, 2020 · 0 comments

Comments

@ppanero
Copy link
Member

ppanero commented Jun 18, 2020

Being able to attach actions to same resource would be much better UX than what we have. As mentioned we need 2 classes per 1 action endpoint.

  • thinking about using decorators but it might get messy too:
@action(route="", parser="...")
def actionA(self, *Args, **kwargs)
    pass
@ppanero ppanero added this to Triage in InvenioRDM June Board via automation Jun 18, 2020
@ppanero ppanero moved this from Triage to Backend To do in InvenioRDM June Board Jun 18, 2020
@ppanero ppanero removed this from Backend To do in InvenioRDM June Board Jun 26, 2020
@ppanero ppanero added this to Backend To do in InvenioRDM July Board Jun 26, 2020
@fenekku fenekku moved this from Backend To do to Triage in InvenioRDM July Board Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant