openapi-react-query-codegen
openapi-react-query-codegen copied to clipboard
fix: reuse helper to generate keys in prefetch hooks
Attempting to fix https://github.com/7nohe/openapi-react-query-codegen/issues/102. I'll revisit it tomorrow since I'm still getting familiar with the code. The ultimate goal here is to allow prefetch hooks to be as flexible as query hooks are and create the same key structure so it is possible to use the cache.