Sharing a convex backend between multiple apps without a monorepo
Is there a way so we wouldn't have to use a mono-repo? 😦
7 Replies
What's the setup you'd like to use here @bri?
If your API is in a different repo types of the arguments to your functions and the return values can get out of sync.
There are a variety of ways to address this
but it's generally more complicated than using the same repository for everything
That's one good reason. Wanted to avoid having to recreate our repos. Nextjs and Expo projects are already deployed. Had we known, would've started with a monorepo. Welp, it what it is. Have to do it anyways
Alternative ways to do this may be supported in the future, but generally they're more of a hassle than using the same repo.
e.g. say you could download the current API types from the dashboard
that's nice for getting started, but as they change they can get out of date
Wouldn't mind doing that for now
this isn't supported yet, but things like it could be supported before too long
Ah, okay
Thanks for your inputs, Tom (:
non-monorepos just got easier! https://discord.com/channels/1019350475847499849/1019372556693815418/1278869945513545849