Replies: 1 comment
-
This isn't an Astro issue but how you configure your monorepo to export the APIs and how they are resolved. This is usually achieved with a correct combination of package.json and tsconfig.json that suits your needs I suggest you reach out to Discord to seek help, where you can find more support |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
While working with
@astrojs/db
I came across one limitation.It seems like I cannot import tables created with
defineTable
from other packages (given the monorepo context). Ideally I would like to achieve something on the lines of this:user.ts in @repo/package-a
db/config.ts in app
However, currently I get the error:
Is it expected behaviour? Should I create custom
dbIntegration
instead?Beta Was this translation helpful? Give feedback.
All reactions