Open francestang1117 opened 1 year ago
@francestang1117 是不是 RSocketEncodingFacade.getInstance();
更好一些?
- protected RSocketEncodingFacade encodingFacade = RSocketEncodingFacade.getInstance();
+ protected RSocketEncodingFacade encodingFacade = RSocketEncodingFacade.getInstance(new RSocketEncodingFacadeImpl());
Hi @linux-china, 这里我修改主要是觉得有一个Cyclically-dependent Modularization的smell.
Hi @linux-china, 这里我修改主要是觉得有一个Cyclically-dependent Modularization的smell.
好的,我看一下这个问题,看能否更好地修复一下。
Hi, I refactored some code. Hope you could check it. Thank you.