Effect CommunityEC
Effect Community5mo ago
9 replies
Patrick Roza

Issue with Layer.mergeAll and Prefixed RpcGroups in Effect Typescript Library

if I have prefixed RpcGroups, why can't I Layer.mergeAll(GroupLayer<-GroupImpl, Group2Layer<-Group2Impl) <- ProtocolHttpRouter <- Serialization <- HttpRouter
only one group will work, the others will receive tag not found.

I have to make a Protocol and path per group,
unless I use RpcGroup.merge, and then also have to provide implementations together, and have one big client.
it's somewhat counter intuitive
Was this page helpful?