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

added support for fixed parameters via annotation #282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oak
Copy link

@oak oak commented Jan 11, 2022

I had the need in a project to include some fixed parameters in some method requests in addition to rpc method's named parameters.

Since it may be of use for others and a simple addition to the parameter processing, I have included the needed changes in this pull request, along with tests and a documentation update.

@briandilley
Copy link
Owner

I feel like this may be better implemented as a defaultValue and an optional fixed parameters on the existing annotation

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 this pull request may close these issues.

2 participants