openapi-react-query-codegen icon indicating copy to clipboard operation
openapi-react-query-codegen copied to clipboard

fix: reuse helper to generate keys in prefetch hooks

Open nopitown opened this issue 3 months ago • 0 comments

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.

nopitown avatar May 03 '24 00:05 nopitown