Fixed the Json creation #783
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!783
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "#762-refactor-the-function-GetLayoutNameAndID(int-userID)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implementation of tests in layoutService
On what device?
This has been developed on an Arch-based Linux distro and tested using dotnet tests.
What has been done?
The real change is in "service/layoutService/layoutService/Services/LayoutService.cs" and "service/layoutService/layoutService/Models/Response/LayoutNameResponse.cs". The latter was created as an object to be serialized to the JSON object. The Former had its "GetLayoutNameAndId" method to use the new object and use the JsonSerializer.Serialize method instead of building its own JSON from scratch. *
The rest of the files had just some light code clean up (many fixing incorrect spelling and indentation).
Issue:
#762
Review on #783
Tested on Windows using dotnet test
Inspected following files LayoutService.cs , LayoutNameResponse.cs
Inspected these 2 files.
Naming convention
Comments
General code quality
What needs to be done
Nothing for now.
Conclusion
My conclusion is that the issue is solved, and functionality works as expected.