desmos-labs / mooncake

The first decentralized social app based on Desmos
MIT License
46 stars 14 forks source link

update: getter to filter out possible duplicates #48

Closed ryuash closed 4 years ago

ryuash commented 4 years ago

add: test case

Description

fixed #44 As I was unable to reproduce the issue I don't know if this work around will be effective enough. Might need to refactor later on if each post has 1000+ likes.

Checklist

codecov[bot] commented 4 years ago

Codecov Report

Merging #48 into master will increase coverage by 0.07%. The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #48      +/-   ##
==========================================
+ Coverage   18.14%   18.21%   +0.07%     
==========================================
  Files         245      245              
  Lines        5964     5968       +4     
==========================================
+ Hits         1082     1087       +5     
+ Misses       4882     4881       -1     
Impacted Files Coverage Δ
lib/entities/posts/post.dart 85.39% <80.00%> (+1.86%) :arrow_up:

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 67a2030...a316a05. Read the comment docs.