-
-
Notifications
You must be signed in to change notification settings - Fork 116
Fix handle special case with tags #1746
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
base: main
Are you sure you want to change the base?
Fix handle special case with tags #1746
Conversation
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
c527f6d to
e1f90b7
Compare
8f39efd to
7990392
Compare
More templates
@kubb/cli
@kubb/core
kubb
@kubb/mcp
@kubb/oas
@kubb/plugin-client
@kubb/plugin-cypress
@kubb/plugin-faker
@kubb/plugin-mcp
@kubb/plugin-msw
@kubb/plugin-oas
@kubb/plugin-react-query
@kubb/plugin-redoc
@kubb/plugin-solid-query
@kubb/plugin-svelte-query
@kubb/plugin-swr
@kubb/plugin-ts
@kubb/plugin-vue-query
@kubb/plugin-zod
unplugin-kubb
commit: |
Hey team! Just found this project and loving it so far!
I used the SWR plugin which handles grouping by tags, where I found spaces and pipe characters break it.
First is that I think its pretty common to have spaces in tags. ie:
tags: - Exercise Librarywhich would generate hooks like
useGetExercise Library.tsThe second is related to this thread on Swagger where people use the | character to create nested tags which works really well.

The fix here is small and works for me - I couldn't think of a case where it wouldn't produce the more expected outcome.
After I did this, I realized I can get the same outcome by updating the config - I put it in here too so a reviewer could decide if either ways to resolve are worth merging <3
I hope this helps!