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

[proc macros]: server support #221

Closed
niklasad1 opened this issue Mar 2, 2021 · 1 comment
Closed

[proc macros]: server support #221

niklasad1 opened this issue Mar 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@niklasad1
Copy link
Member

niklasad1 commented Mar 2, 2021

We need to provide proc macros api for the servers to simplify the usage and prevent boiler plate code.

//cc @maciejhirsz maybe you could elaborate on your idea about having HashMaps generated from the proc macros, merge the HashMaps to one and provide a mapping for each method to BoxClosure (as requests and subscriptions are handled in the WsServer)

@niklasad1 niklasad1 added the enhancement New feature or request label Mar 2, 2021
@niklasad1 niklasad1 changed the title [jsonrpsee proc macros]: server support [proc macros]: server support Mar 2, 2021
@niklasad1
Copy link
Member Author

Fixed by #387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant