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

feat: Add ensureQueryData support

Open 7nohe opened this issue 1 year ago • 2 comments

#123

I have added support for ensureQueryData. This is useful when using TanStack Router in combination with TanStack Query. A sample project is also provided.

7nohe avatar Sep 24 '24 10:09 7nohe

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 99.04% (🎯 95%) 2085 / 2105
🟢 Statements 99.04% (🎯 95%) 2085 / 2105
🟢 Functions 100% (🎯 95%) 41 / 41
🟢 Branches 94.05% (🎯 85%) 190 / 202
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/constants.mts 100% 100% 100% 100%
src/createExports.mts 100% 100% 100% 100%
src/createSource.mts 100% 100% 100% 100%
Generated in workflow #333

github-actions[bot] avatar Sep 24 '24 10:09 github-actions[bot]

npm publish

7nohe avatar Sep 25 '24 02:09 7nohe

I need to use this feature urgently for work, so I will merge and release it. Since the tests have passed and there are no changes to the existing exports, I believe there shouldn’t be any issues.

7nohe avatar Oct 06 '24 23:10 7nohe