From d644c7b1b74df4fa0e6662e36e7aaf90764c866e Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 12 Sep 2025 21:52:09 +0300 Subject: [PATCH 1/3] Initial commit with task details for issue #116 Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: https://github.com/linksplatform/Data/issues/116 --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..1c1d02c --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +Issue to solve: https://github.com/linksplatform/Data/issues/116 +Your prepared branch: issue-116-6266cdfd +Your prepared working directory: /tmp/gh-issue-solver-1757703123275 + +Proceed. \ No newline at end of file From e394937b199aefee5fec4892a09bd291ceee03f8 Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 12 Sep 2025 21:55:04 +0300 Subject: [PATCH 2/3] Make TLink parameter in LinksOptions configurable and reorder template parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change addresses issue #116 by: - Reordering template parameters to put TLink as the second parameter - Removing the default value from TLinkAddress as requested in issue comments - Updating LinksOptions template signature to match the desired format from the issue - Updating test files to use the new parameter order The new parameter order is: template This makes LinksOptions more adjustable by users and reduces code duplication. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- cpp/Platform.Data.Tests/ILinksTests.cpp | 6 +++--- cpp/Platform.Data/LinksOptions.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/Platform.Data.Tests/ILinksTests.cpp b/cpp/Platform.Data.Tests/ILinksTests.cpp index 99159b5..6809f40 100644 --- a/cpp/Platform.Data.Tests/ILinksTests.cpp +++ b/cpp/Platform.Data.Tests/ILinksTests.cpp @@ -1,9 +1,9 @@ namespace Platform::Data::Tests { - template VConstants = LinksConstants{true}, typename TLink = std::vector, typename TReadHandler = std::function, typename TWriteHandler = std::function> - struct Links : public ILinks> + template, typename TWriteHandler = std::function, typename TReadHandler = std::function, LinksConstants VConstants = LinksConstants{true}> + struct Links : public ILinks> { - using base = ILinks>; + using base = ILinks>; using typename base::LinkAddressType; using typename base::LinkType; using typename base::WriteHandlerType; diff --git a/cpp/Platform.Data/LinksOptions.h b/cpp/Platform.Data/LinksOptions.h index c33f8ad..081cf3f 100644 --- a/cpp/Platform.Data/LinksOptions.h +++ b/cpp/Platform.Data/LinksOptions.h @@ -1,7 +1,7 @@ namespace Platform::Data { - template VConstants = LinksConstants{true}, typename TLink = std::vector, typename TReadHandler = std::function, typename TWriteHandler = std::function> + template, typename TWriteHandler = std::function, typename TReadHandler = std::function, LinksConstants VConstants = LinksConstants{true}> struct LinksOptions { using LinkAddressType = TLinkAddress; From 1923c389a3c9c465fbc4581a73faa821b4ee92cf Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 12 Sep 2025 21:56:14 +0300 Subject: [PATCH 3/3] Remove CLAUDE.md - Claude command completed --- CLAUDE.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 1c1d02c..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,5 +0,0 @@ -Issue to solve: https://github.com/linksplatform/Data/issues/116 -Your prepared branch: issue-116-6266cdfd -Your prepared working directory: /tmp/gh-issue-solver-1757703123275 - -Proceed. \ No newline at end of file