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 users to move mock under a scope #21

Closed
nicolas-besnard opened this issue Nov 25, 2017 · 5 comments
Closed

Allow users to move mock under a scope #21

nicolas-besnard opened this issue Nov 25, 2017 · 5 comments

Comments

@nicolas-besnard
Copy link

nicolas-besnard commented Nov 25, 2017

If I've a lot of mock, it might be nice to be able to prepend the route of all my mocks by something (e.g add /api/v1 to some mock).

I'd love to have a view with all my mocks and drag them to build my desired path.
It might also be interesting to use this feature to create a "common" configuration (e.g. common headers)

If you'd like this feature, I'm happy to propose an implementation.

Cheers :)

@iridakos
Copy link
Owner

Hey @nicolas-besnard ,

Nice feature which is already under development :D (issues #7 #8).

Each mock will have a namespace with the default one mapping to the root path of the application.

Feel free to propose your implementation, you might have thought something better than I have.

Thanks a lot!

@nicolas-besnard
Copy link
Author

Happy to contribute if the code is on a branch :)

@iridakos
Copy link
Owner

I'll update this issue once I push to the branch (hopefully till the end of next week)

Thanks again!

@nicolas-besnard
Copy link
Author

Any news on that?

@iridakos
Copy link
Owner

@nicolas-besnard Hey! Sorry for the delay 😒 I've been busy...

I've paused the other issues (#7, #8) and I'm not sure about when I'll work on them again (soon though).

Go ahead with your proposal and create a pull request once done!

Thank you very much and happy new year!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants