GET Groups/{id} is supposed to return members belonging to that group also in the response body, so it has to query the database using GSI, but in my unit testcases, since im using local dynamodb, for a unit test case where the members of the group has to be fetched, GSI is not updated and querrying the members from the database is failing, so can anyone help me with this
I tried writing group data into group table and added members and also tried writing user group mapping data into user-group-mapping-table, and then the code goes as to fetch the members from the group from the table using GSI, but shows zero members, so i doubt there could be no updation in GSI and hence it failing
Chan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.