Skip to content

Expose url replacement logic#79

Merged
rkodev merged 6 commits intomainfrom
feat/url-replacer
Apr 17, 2023
Merged

Expose url replacement logic#79
rkodev merged 6 commits intomainfrom
feat/url-replacer

Conversation

@rkodev
Copy link
Contributor

@rkodev rkodev commented Apr 17, 2023

This PR partially address issue 179. Batch requests that rely on url replacement logic do not convert the request url for batch items.
The PR increases visibility of some private objects to allow method reuse in implementing libraries. (Reflection is not an option when attempting to invoke priavte methods on private objects)

  1. customTransport is now public and allows type casting to an interface to be specifically type CustomTransport
  2. Method customTransport.GetMiddleWares returns the list of middle ware assigned to the trasnport object
  3. UrlReplaceHandler.ReplacePathTokens is now public to allow invoking the method outside the package.

@rkodev rkodev force-pushed the feat/url-replacer branch from 628aa4e to 027bf95 Compare April 17, 2023 12:33
@rkodev rkodev marked this pull request as ready for review April 17, 2023 12:35
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thanks for making the changes! Changelog entry and it'll be good to go!

@rkodev
Copy link
Contributor Author

rkodev commented Apr 17, 2023

Added changelog entries for this PR

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@rkodev rkodev merged commit 04ffc9e into main Apr 17, 2023
@rkodev rkodev deleted the feat/url-replacer branch April 17, 2023 14:25
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.

2 participants