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

Response interceptor is not working in database. #167

Closed
stasguma opened this issue Apr 11, 2024 · 2 comments
Closed

Response interceptor is not working in database. #167

stasguma opened this issue Apr 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@stasguma
Copy link

Can you explain why the response interceptor is not invoked? Did I miss something? API call works fine.

image

@RiceWithMeat
Copy link
Collaborator

Hello, @stasguma. Thanks for using mock-config-server! Our team is currently discussing the possibility of implementing interceptors for database. We will keep you in touch.

@RiceWithMeat RiceWithMeat self-assigned this Apr 11, 2024
@RiceWithMeat RiceWithMeat added the bug Something isn't working label Apr 11, 2024
RiceWithMeat added a commit that referenced this issue May 20, 2024
…etabase api interceptors, add baseUrl field for database
RiceWithMeat added a commit that referenced this issue Jan 5, 2025
# Conflicts:
#	src/core/database/createDatabaseRoutes/helpers/createNestedDatabaseRoutes/createNestedDatabaseRoutes.ts
#	src/core/database/createDatabaseRoutes/helpers/createShallowDatabaseRoutes/createShallowDatabaseRoutes.ts
RiceWithMeat added a commit that referenced this issue Jan 5, 2025
…createGraphQLMockServer, remove call response interceptors for __db and __routes routes, add missing call response interceptors for post routes, set data to null in delete route
@RiceWithMeat
Copy link
Collaborator

Hello, @stasguma. We decided to completely rework the logic of working with the database and with interceptors in particular in version 5.0.0. So the fix for this issue will not be merged into the release. Database interceptors calls were added in this MR. If you need them, you can fork the repository and merge these changes as a temporary solution.

@RiceWithMeat RiceWithMeat closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants