Fixed the Json creation #783
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
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.