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

Rhai: Allow setting or overriding request port #5437

Open
lleadbet opened this issue Jun 13, 2024 · 0 comments · May be fixed by #5439
Open

Rhai: Allow setting or overriding request port #5437

lleadbet opened this issue Jun 13, 2024 · 0 comments · May be fixed by #5439

Comments

@lleadbet
Copy link
Contributor

Is your feature request related to a problem? Please describe.

In some cases, a URL may need to be updated dynamically, for example based on user location, and the port of the URL also needs to be adjusted.

At the moment, the request.subgraph.uri.* setters only allow setting the hostname or the path.

Describe the solution you'd like

The ability to set the port via something like request.subgraph.uri.port.

Describe alternatives you've considered

Coprocessors can do this today, however Rhai may be a good fit for other organizations.

@lleadbet lleadbet linked a pull request Jun 13, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant