Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(schema): Do not change the hook context in resolvers #3048

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

daffl
Copy link
Member

@daffl daffl commented Feb 9, 2023

This pull request removes the unexpected (and undocumented) behaviour of emptying the query in a resolver. It was originally intended to be able to just pass context.params along to other requests but it makes more sense to put together the parameters you need yourself anyway.

Closes #2995

@netlify
Copy link

netlify bot commented Feb 9, 2023

Deploy Preview for feathers-dove canceled.

Name Link
🔨 Latest commit 9398bc0
🔍 Latest deploy log https://app.netlify.com/sites/feathers-dove/deploys/63e527c505e5970008282b37

@marshallswain
Copy link
Member

:shipit:

@daffl daffl merged commit bfd8c04 into dove Feb 9, 2023
@daffl daffl deleted the 2995-empty-query branch February 9, 2023 18:24
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Query is always empty object within data resolver functions
2 participants