-
Notifications
You must be signed in to change notification settings - Fork 7
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
[feat]: Autogenerated TypeScript types? #45
Comments
That feature is on its way! We're currently testing a few different options for generating the types to find what works best, and are hoping to implement it in the coming weeks. And thanks for your interest, it's great to see people already trying out the SDK. |
Hey @jgb-solutions thanks for your interest! This is just the beginning for our SDK. The full roadmap can be seen here: https://www.notion.so/strapi/Strapi-JavaScript-SDK-plan-15f8f35980748046b7f8fb207b29c64b |
Hey @hanpaine @innerdvations thanks guys for replying quickly. I was looking for this for a while and I've been using Strapi for a many years now. I stepped away a little bit because of the bad DX of fetching data. I'll keep looking for new releases of this package. Good job guys! |
Hey @jgb-solutions, I just wanted to keep you updated on this as you've expressed some interest on the subject 🙂 We've actually started the research and development for the generation of better types and APIs for the SDK. The research itself took quite some time but we're confident we're heading in the right direction and will soon be able to start the development. We'll update you when we have more news to share about our progress! Have a great day 🎉 |
Thank you for the update @Convly. I appreciate it. |
Hi! Exciting news that your are actively developing this feature! We currently use the Documentation plugin to generate types and api for our frontend. Some things come to mind, which currently don't work well:
We are looking forward to try this out! |
A clear and concise description of what the feature is
Strapi is very popular and it was time for it to have a SDK. I just tried it and it works but with no types, it's not very appealing to modern projects using TypeScript. I know I could use GraphQL but that's another big mental hurdle of its own.
Why should this feature be included?
Autogenerated TypeScript types from the API.
Please provide an example for how this would work
In modern frontend for web and mobile apps using TypeScript.
The text was updated successfully, but these errors were encountered: