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

Support stack config as a source for required path params #23

Open
praneetloke opened this issue Nov 11, 2022 · 0 comments
Open

Support stack config as a source for required path params #23

praneetloke opened this issue Nov 11, 2022 · 0 comments

Comments

@praneetloke
Copy link
Member

praneetloke commented Nov 11, 2022

For example, in Scaleway's APIs, the zone path param is required in nearly all API endpoints. It's redundant to have to set it in every resource. It would be nice if the value was sourceable from stack config. We could provide a callback interface that would allow implementations an opportunity to supply the required path params before the HTTP request is created. That info can be merged with the regular search for path params that this framework already does. project is another example.

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