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

Allow state to be passed to parser from client #326

Open
beached opened this issue Oct 14, 2022 · 0 comments
Open

Allow state to be passed to parser from client #326

beached opened this issue Oct 14, 2022 · 0 comments
Milestone

Comments

@beached
Copy link
Owner

beached commented Oct 14, 2022

The CP's in the mappings for things like Constructor/Switcher/... should be able to take an optional param, call it json_client_state_t that is essentially a std::any. This will allow them to pass state to those callables in order to better do things like use message types to select variants.

@beached beached added this to the v4.0 milestone Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant