Aseer KT

Results 6 issues of Aseer KT

### Problem Statement - GraphQL requests take quite a good amount of time. ### Possible fixes - [x] Reduce profile field resolve on user field - [x] ~~(Not needed) Reduce...

enhancement

- [ ] Skeleton loading instead of spinner for posts - [ ] Loader for infinite scrolling - [x] Immediate like toggle without loading

Can't we just keep track of followers and followings from a single schema?. ![insta-clone-follow](https://user-images.githubusercontent.com/39845171/115103030-5cf86880-9f6c-11eb-8023-ded4a6b5df6c.png) For example, combining both of them into `Follow.js` like shown below. ```js // Follow.js const FollowSchema...

In [room-resolver.ts](https://github.com/anuraghazra/convoychat/blob/8eedf6d67d4502ed9cc43ccfbcd25d222bf8e5d6/server/modules/room/room-resolver.ts) - [ ] **Overfetching rooms** We have two queries `listRooms` and `listCurrentUserRooms`. When you execute both queries on the client side, we run into a situation where room...

Mentioned in https://github.com/typegoose/typegoose/issues/318 `arrayProp` is currently used in following entities - [Invitation](https://github.com/anuraghazra/convoychat/blob/8eedf6d67d4502ed9cc43ccfbcd25d222bf8e5d6/server/entities/Invitation.ts) - [Message](https://github.com/anuraghazra/convoychat/blob/8eedf6d67d4502ed9cc43ccfbcd25d222bf8e5d6/server/entities/Message.ts) - [Room](https://github.com/anuraghazra/convoychat/blob/8eedf6d67d4502ed9cc43ccfbcd25d222bf8e5d6/server/entities/Room.ts) - [User](https://github.com/anuraghazra/convoychat/blob/8eedf6d67d4502ed9cc43ccfbcd25d222bf8e5d6/server/entities/User.ts)

- [ ] Apollo Client is outdated - Latest version v3 - [ ] Apollo Server is outdated - Latest version v3 - [ ] TypeScript is outdated - Latest...