Skip to content

build(architecture): #55: synchronization to align with the architectural patterns of the inner-circle-items-api repository#67

Open
JDRkow wants to merge 14 commits intomasterfrom
feature/#55-synchronization-to-align-with-the-architectural-patterns-of-the-inner-circle-items-api-repository
Open

build(architecture): #55: synchronization to align with the architectural patterns of the inner-circle-items-api repository#67
JDRkow wants to merge 14 commits intomasterfrom
feature/#55-synchronization-to-align-with-the-architectural-patterns-of-the-inner-circle-items-api-repository

Conversation

@JDRkow
Copy link
Collaborator

@JDRkow JDRkow commented Mar 27, 2026

Closes #55

JDRkow added 3 commits March 27, 2026 11:10
…the-architectural-patterns-of-the-inner-circle-items-api-repository

# Conflicts:
#	CMakeLists.txt
#	src/controllers/app-controller.cpp
#	src/controllers/app-controller.h

void getToDos (const HttpRequestPtr& req, std::function<void(const HttpResponsePtr&)>&& callback);
void addToDo (const HttpRequestPtr& req, std::function<void(const HttpResponsePtr&)>&& callback);
void completeToDos(const HttpRequestPtr& req, std::function<void(const HttpResponsePtr&)>&& callback);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing space after completeToDos.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the autoformatter removed them altogether

Comment on lines +1 to +6
#pragma once
#include <cstdint>

struct CreateToDoResponse {
uint64_t id;
}; No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems uint64_t is used from stdint.h, not cstdint. I suggest using std::uint64_t.

for (const auto& t : *todos)
{
ToDoDTO dto;
dto.id = static_cast<int>(t.id());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use uint64_t here?

{
Json::Value json;
json["id"] = id;
json["id"] = id;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be an extra space here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the autoformatter removed them altogether

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Synchronization to align with the architectural patterns of the inner-circle-items-api repository

2 participants