Lenkelheit / Coursework

This repository contains Instagram-like application
Apache License 2.0
1 stars 0 forks source link

Fix/random fill #148

Closed iamprovidence closed 5 years ago

iamprovidence commented 5 years ago

Description

Fix RandomFill Method. It fails because random for followers works bad. Sometimes one person follow another twice, that was the problem. Test still fail because thay are adapted to simple Fill method, so propose test mode option

Change some List collection to Set. It should speed up perfomance for Contain method when checking for likes, also with SortedSet it would sort users by nickname in next windows: Follow, Search

Make Get method of repository return not IEnumerrable, but IQueryable

Also I make some window to have static size

Fixes # (issues)

73 , #147

Opens # (issues)

131

Type of change

Checklist: