I’m trying to import some backend methods apps/backend/...
into my packages/graphql
because my graphql resolvers actualy calls backend routes, but I can’t seem to see how in turbo monorepo documentation…
my current frontend (client) imports “@repo/graphql” : “*” but now i need my graphql package to access my backend (server) methods, but I can’t just workaround that with relative path, because turbo will not resolve it after deployment.
does anyone have an idea ? here is somme information:
.
├── README.md
├── apps
│ ├── client
│ └── server
├── packages
│ ├── eslint-config
│ ├── graphql
│ ├── prettier-config
│ ├── prisma
│ └── typescript-config
├── docker-compose.yml
├── eslint.config.mjs
├── makefile
├── package-lock.json
├── package.json
├── prettier.config.mjs
├── tsconfig.json
└── turbo.json