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

chore(test): add test for case where tags have hook mutator and client is react-query #1619

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

yoshi2no
Copy link
Contributor

@yoshi2no yoshi2no commented Sep 9, 2024

Status

READY

Description

As @soartec-lab mentioned in PR #1614, I have added a test for tags.mutator.
This test expects that useCallback is imported when a hook mutator is provided.

Related PRs

List related PRs against other branches:

branch PR
fix/import-react-deps-when-tags-have-mutator link

Todos

  • Tests
  • Documentation
  • Changelog Entry (unreleased)

Steps to Test or Reproduce

Outline the steps to test or reproduce the PR here.

  1. cd tests
  2. yarn generate:react-query
  3. check if 🎉 tagHookMutator - Your OpenAPI spec has been converted into ready to use orval! displays

Copy link
Member

@soartec-lab soartec-lab left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@soartec-lab soartec-lab merged commit 108abc8 into orval-labs:master Sep 9, 2024
2 checks passed
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.

2 participants