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 for configuration of non-standard API endpoints #1994

Merged
merged 5 commits into from
Nov 19, 2024

Conversation

magnetised
Copy link
Contributor

use base_url for the old behaviour of automatically appending /v1/shape and endpoint to explictly set the full URL of the shape api

Fixes #1992

use `base_url` for the old behaviour of automatically appending
`/v1/shape` and `endpoint` to explictly set the full URL of the shape
api
Copy link
Contributor

@msfstef msfstef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, and backwards compatible!

Needs a changeset, I'm assuming the hex docs are generated from the docstrings

@magnetised magnetised merged commit 4245ec9 into main Nov 19, 2024
26 checks passed
@magnetised magnetised deleted the 1992-elixir-client-cannot-point-to-arbitrary-proxy branch November 19, 2024 13:25
magnetised added a commit that referenced this pull request Nov 19, 2024
Originally the /v1/shape path was appended  onto the `base_url` path,
but #1994 changed that to ignore any path elements in the base_url.

This change un-does that and reverts back to appending the /v1/shape
path onto the base_url.

(no changeset included as the one in #1994 covers this)
magnetised added a commit that referenced this pull request Nov 19, 2024
Originally the /v1/shape path was appended onto the `base_url` path, but
#1994 changed that to ignore any path elements in the base_url.

This change un-does that and reverts back to appending the /v1/shape
path onto the base_url.

(no changeset included as the one in #1994 covers this)

@msfstef almost backwards compatible...
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.

Elixir client cannot point to arbitrary proxy
2 participants