-
Notifications
You must be signed in to change notification settings - Fork 43
Use porting::optional in olp-cpp-sdk-read instead of boost::optional. #1627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1627 +/- ##
==========================================
- Coverage 80.32% 80.27% -0.06%
==========================================
Files 349 349
Lines 13946 13952 +6
Branches 1492 1493 +1
==========================================
- Hits 11202 11199 -3
- Misses 2146 2152 +6
- Partials 598 601 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ad19ece to
8a9bb0b
Compare
andrey-kashcheev
previously approved these changes
Aug 8, 2025
olp-cpp-sdk-dataservice-read/tests/PartitionsRepositoryTest.cpp
Outdated
Show resolved
Hide resolved
8a9bb0b to
cbd4d4a
Compare
mykolamalik
reviewed
Aug 8, 2025
olp-cpp-sdk-dataservice-read/src/repositories/PartitionsCacheRepository.h
Outdated
Show resolved
Hide resolved
0b71fee to
9ce5a4d
Compare
mykolamalik
requested changes
Aug 10, 2025
olp-cpp-sdk-dataservice-write/src/generated/model/PublishPartitions.h
Outdated
Show resolved
Hide resolved
olp-cpp-sdk-dataservice-write/include/olp/dataservice/write/generated/model/Index.h
Outdated
Show resolved
Hide resolved
olp-cpp-sdk-dataservice-write/include/olp/dataservice/write/generated/model/Publication.h
Outdated
Show resolved
Hide resolved
olp-cpp-sdk-dataservice-write/include/olp/dataservice/write/model/PublishDataRequest.h
Outdated
Show resolved
Hide resolved
olp-cpp-sdk-dataservice-write/include/olp/dataservice/write/model/PublishIndexRequest.h
Outdated
Show resolved
Hide resolved
olp-cpp-sdk-dataservice-write/include/olp/dataservice/write/model/StartBatchRequest.h
Outdated
Show resolved
Hide resolved
olp-cpp-sdk-dataservice-write/include/olp/dataservice/write/model/UpdateIndexRequest.h
Outdated
Show resolved
Hide resolved
9ce5a4d to
7104fb6
Compare
Currently, SDK requires C++11 minimum. So, boost::optional type is used for optional values. For C++17 and above more convenient is to use std::optional instead. The task NLAM-23 is about making this type configurable. This commit is a third part of the task: olp-cpp-sdk-read. Also, initial name "optional.hpp" is changed to optional.h to avoid clang-format header sorting issue. Relates-To: NLAM-23 Signed-off-by: sopov <ext-alexander.sopov@here.com>
7104fb6 to
cb9c5b2
Compare
mykolamalik
approved these changes
Aug 11, 2025
andrey-kashcheev
approved these changes
Aug 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, SDK requires C++11 minimum.
So, boost::optional type is used for optional values. For C++17 and above more convenient is to use std::optional instead. The task NLAM-23 is about making this type configurable. This commit is a third part of the task: olp-cpp-sdk-read.
Relates-To: NLAM-23