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

fix(query): surround and only cannot be used at the same time #1238

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

ky0615
Copy link
Contributor

@ky0615 ky0615 commented Jun 10, 2022

πŸ”— Linked issue

resolves #1235

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

return pipelines.reduce(($data: Array<T>, pipe: any) => pipe($data, query.params()) || $data, data)

When using findSurround, it is necessary to take into account that null are mixed in the pipeline data.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify
Copy link

netlify bot commented Jun 10, 2022

‼️ Deploy request for nuxt-content rejected.

Name Link
πŸ”¨ Latest commit d9654f4

Copy link
Member

@farnabaz farnabaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ❀️

@farnabaz farnabaz merged commit 56c5228 into nuxt:main Jun 10, 2022
@farnabaz farnabaz mentioned this pull request Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

findSurround() is not working
2 participants