orval icon indicating copy to clipboard operation
orval copied to clipboard

feature: log which version of react-query is detected

Open maapteh opened this issue 2 years ago • 0 comments

It's nice that when you specify the client in the Orval config, and some internal logic happens upon this inside Orval it will log which version is detected. Currently the version detection is done for every generating of a hook, this can go some levels higher maybe (and passed) so when the creation is all done it can log something like:

│ 🍻 Start orval v6.23.0 - A swagger client generator for typescript
│ snip-api: Cleaning output folder
│ snip-api: Client react-query v5.17.1 is used for the conversion
│ 🎉 snip-api - Your OpenAPI spec has been converted into ready to use orval!
└─ Done in 1.2s

This will help in understanding more what is happening.

maapteh avatar Jan 05 '24 13:01 maapteh