You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use NX monorepo for all our codebases. We have an apps folder and packages folder. In the packages folder we have folder for each techology to avoid importing from invalid packages. e.g
packages
api
client (Where generated react-query functions should live)
shared (Shared packages, where types would be)
React apps, cannot import from api and Express API's cannot import from client.
We've been using the new react-query plugin from hey-api, and we have a comon use case where generated types need to be in one place, and the generated react-query functions need tobe in another.
Description
Love the work you guys are doing!
We use NX monorepo for all our codebases. We have an
apps
folder andpackages
folder. In thepackages
folder we have folder for each techology to avoid importing from invalid packages. e.gReact apps, cannot import from
api
and Express API's cannot import fromclient
.We've been using the new
react-query
plugin from hey-api, and we have a comon use case where generated types need to be in one place, and the generated react-query functions need tobe in another.Is this curently possible without duplication?
Rough Idea
Maybe something like this would be great.
Thanks again!
The text was updated successfully, but these errors were encountered: