Skip to content
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

Option to generate Lazy Hooks too #67

Closed
sn3ek opened this issue Jul 20, 2021 · 4 comments
Closed

Option to generate Lazy Hooks too #67

sn3ek opened this issue Jul 20, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@sn3ek
Copy link

sn3ek commented Jul 20, 2021

Thanks for providing such a great code generator for RTK-Query.

Do you have any plans to also provide an option to generate Lazy hooks too?

Thanks
Lars

@phryneas
Copy link
Collaborator

@phryneas
Copy link
Collaborator

Argh sorry, wrong repository - I thought we were on the RTK repo right now 🤣

Generally, yes, we can add those exports to generation. I'll flag it a feature :)

@phryneas phryneas added the enhancement New feature or request label Jul 20, 2021
@sn3ek
Copy link
Author

sn3ek commented Jul 21, 2021

Yes. Sounds good. 👍

@phryneas
Copy link
Collaborator

The codegen is now published as @rtk-query/codegen-openapi and the code has moved over to the Redux Toolkit monorepo.

As usage has changed as well, please read the new documentation.

As this repository is getting archived, I am going to close this issue. If you are still interested in continuing this feature, please re-open a ticket over in the RTK repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants