You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.
I have checked the existing GraphQL schema and confirmed that it already satisfies the requirements for commentsByPost. There was no need for a separate query. I opened this issue initially to create APIs for the frontend, but I now realize that updating the frontend queries suffices. Thanks @xoldyckk for providing this insight; it was overlooked by me earlier. I also noticed that the Talawa-API has many redundant queries, for which I will definitely create issues in the future. This way, we can maintain sustainable code without the need for additional queries. @palisadoes I am closing this pull request and will chnage the frontend query directly to fetch the comments.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
This issue is linked to Issue 2190
Expected behavior
We need to have graphql query to fetch data as expected
Screenshots
![image](https://private-user-images.githubusercontent.com/93479496/288174551-9f121a29-5835-47dc-b555-385e4d6265b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzg3NTgsIm5iZiI6MTczOTI3ODQ1OCwicGF0aCI6Ii85MzQ3OTQ5Ni8yODgxNzQ1NTEtOWYxMjFhMjktNTgzNS00N2RjLWI1NTUtMzg1ZTRkNjI2NWI4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDEyNTQxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQzMTE5MDFlMDkzMWExYmRlMWQ3MWI3ODZiMGJjMDZiNzNiMDdkOWM0Y2U5MzhhMmQ5MmZiNjQzMTMzM2E4ZjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.WEBkrq99qLrGGlhWTJ23u8v4jueN6IbZmxr1NwjEjvY)
The text was updated successfully, but these errors were encountered: