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
I tried rewatch in a large monorepo and got an non-existent circular dependency error.
The code looks like this:
ProjectFrontend namespace: false
Server
Component
Api
Context
ProjectBackend namespace: true
UnrelatedModule
Make Functor
module Server = ...
Component -> Api -> ProjectBackend.UnrelatedModule -> Server -> Api
ProjectFrontend uses types from ProjectBackend, but not from UnrelatedModule. It appears that it is mixing up the Server module inside the functor with Server module in ProjectFrontend.
I believe it has to do with the namespace option. Changing ProjectFrontend to namespace: true results in different errors that are fixable.
The text was updated successfully, but these errors were encountered:
I tried
rewatch
in a large monorepo and got an non-existent circular dependency error.The code looks like this:
namespace: false
namespace: true
Component
->Api
->ProjectBackend.UnrelatedModule
->Server
->Api
ProjectFrontend
uses types fromProjectBackend
, but not fromUnrelatedModule
. It appears that it is mixing up theServer
module inside the functor withServer
module inProjectFrontend
.I believe it has to do with the
namespace
option. ChangingProjectFrontend
tonamespace: true
results in different errors that are fixable.The text was updated successfully, but these errors were encountered: