-
Notifications
You must be signed in to change notification settings - Fork 100
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 variables in bodyFile path #175
Comments
Hey @eloo-abi, thanks for the feature requests (and your contribution!) 🚀 However, I think that before moving forward with this development, would be nice to define better the expected behavior under different conditions, and reach consensus. For instance, what should happen when:
Thanks! |
Hi, can you give an example what a
The implementation here is super simple and just adjusts the bodyFile path. |
Sorry, by looking at the PR, I got confused between Please, update the PR with some tests, considering the edge cases I mentioned and I think we'll be able to merge it! |
Merge in OSSC/killgrave from feature/friendsofgoGH-175-reuse-path-variable-for-bodyfile to feat/friendsofgoGH-175-reuse-path-variable-for-bodyfile * commit '18e28e7f7c16c2a4fc670f2aae6b744a82c1be51': remove unused line test: add tests for variables in body file
Merge in OSSC/killgrave from feature/friendsofgoGH-175-reuse-path-variable-for-bodyfile to feat/friendsofgoGH-175-reuse-path-variable-for-bodyfile * commit 'c9dbb4b7afa8c138d678ba338d7f4be397297034': fix: adjust test data and handle errors
Hi,
i would be great if we could allow variables in bodyFile path so it would be possible to have different responses for different path variables without creating a lot of imposters.
A possible config could look like this:
Best regards
The text was updated successfully, but these errors were encountered: