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

Update AxiosClient.liquid so instance and baseUrl are protected #4497

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

mjphillips-sg
Copy link
Contributor

The baseURL and Axios instance are private, we implemented our Client as a singleton and as a result there is no way to change the baseURL after it's created.

When testing our application, we will point our app to different API URLs but are unable to do so because this is private.

Making this protected will at least allow us to extend the client and add some hooks. Making them public would not be the worse option either.

@RicoSuter RicoSuter merged commit d96e241 into RicoSuter:master Sep 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants