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

Reusing request messages can cause incorrect option value #1

Open
taylow opened this issue Sep 13, 2022 · 0 comments
Open

Reusing request messages can cause incorrect option value #1

taylow opened this issue Sep 13, 2022 · 0 comments

Comments

@taylow
Copy link
Owner

taylow commented Sep 13, 2022

One of the methods of proving access to the MethodOptions was to add a method to the request model.

This is fine if there is a 1-to-1 service method to request model relationship, but once a service uses the same request message for two or more service methods, one will most likely overwrite the previous.

There is a risk of receiving an incorrect value, so for now please ensure you do not reuse your request messages of you are going to use the request methods, or stick to the constants/service methods until a better solution is implemented.

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