wangyuheng / Arc

GraphQL and Dgraph for DDD
MIT License
34 stars 12 forks source link

fix generated code format #50

Closed wangyuheng closed 3 years ago

wangyuheng commented 3 years ago
  1. 缩进修改为4个空格
  2. \r\n 替换 \n 作为换行符
  3. lambda 方法移除 {} 避免格式换行

close #46

codecov[bot] commented 3 years ago

Codecov Report

Merging #50 (6888843) into release/1.4.0 (f2e7f30) will increase coverage by 0.26%. The diff coverage is 75.00%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##             release/1.4.0      #50      +/-   ##
===================================================
+ Coverage            63.82%   64.09%   +0.26%     
- Complexity             167      169       +2     
===================================================
  Files                  110      110              
  Lines                 2195     2189       -6     
  Branches               152      152              
===================================================
+ Hits                  1401     1403       +2     
+ Misses                 721      713       -8     
  Partials                73       73              
Impacted Files Coverage Δ Complexity Δ
...hcare/arc/generator/codegen/util/JavadocUtils.java 87.50% <50.00%> (+22.50%) 8.00 <0.00> (+1.00)
...ealthcare/arc/generator/codegen/TypeGenerator.java 96.66% <100.00%> (-0.06%) 9.00 <0.00> (ø)
...ub/yituhealthcare/arc/generator/io/CodeWriter.java 87.50% <100.00%> (+18.75%) 6.00 <1.00> (+1.00)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f2e7f30...6d0e00e. Read the comment docs.