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

Renew APIs #16

Closed
Rokt33r opened this issue Aug 7, 2019 · 1 comment · Fixed by #17
Closed

Renew APIs #16

Rokt33r opened this issue Aug 7, 2019 · 1 comment · Fixed by #17

Comments

@Rokt33r
Copy link
Member

Rokt33r commented Aug 7, 2019

To use parameter decorators, we're using class. But I think it is kind of annoying... I guess we could do like the below example.

myHandler.selectors = [Session()]
function myHandler(session: SessionState) {
  
}

export default prismy(myHandler)
@Rokt33r Rokt33r changed the title Function handler Renew APIs Aug 7, 2019
@Rokt33r Rokt33r mentioned this issue Aug 8, 2019
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

Successfully merging a pull request may close this issue.

1 participant