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

Reflect data changes (POST, PUT, PATCH or DELETE requests) #20

Open
FrancescoBorzi opened this issue Feb 6, 2020 · 2 comments
Open
Labels
new feature New feature

Comments

@FrancescoBorzi
Copy link

Is there a way to make the mocks hold some kind of status so we can make adding/removing/editing entities work?

For example, json-server has a way to do it:

If you make POST, PUT, PATCH or DELETE requests, changes will be automatically and safely saved to db.json using lowdb.

I was wondering if in ng-apimock we can have something similar.

@mdasberg
Copy link
Contributor

Not yet, but it is a nice addition.
@FrancescoBorzi Let me do a poc to see if it is feasible

@arialfaro85
Copy link

If you are able to make it would be so great!

@mdasberg mdasberg added enhancement New feature or request new feature New feature and removed enhancement New feature or request labels Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature
Projects
None yet
Development

No branches or pull requests

3 participants