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 Action handler endpoint to be env var #4776

Closed
rhlsthrm opened this issue May 15, 2020 · 3 comments
Closed

Allow Action handler endpoint to be env var #4776

rhlsthrm opened this issue May 15, 2020 · 3 comments

Comments

@rhlsthrm
Copy link

I'd like to configure my Action handler endpoint from an env var for dev vs production. I can do this for Remote Schemas as well as Event Triggers, but not Actions.

@nason
Copy link

nason commented May 15, 2020

I was about to make this same feature request 🍔

It would be super helpful to be able to define action endpoints and headers from env vars, like we can elsewhere.

@tirumaraiselvan
Copy link
Contributor

This is already possible. See the note on Url templating here: https://hasura.io/docs/1.0/graphql/manual/actions/create.html#step-2-create-the-action-handler

An issue to add a tooltip to suggest this on the console is here: #4689

@rhlsthrm
Copy link
Author

Thank you @tirumaraiselvan! I somehow missed this in the docs! I'll close this issue.

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

3 participants