feat: Add support for hooks. #2087
Annotations
12 warnings and 8 notices
|
/libs/server-sdk/src/client_impl.cpp:204:10 [readability-identifier-length]:
/libs/server-sdk/src/client_impl.cpp#L204
variable name '_' is too short, expected at least 3 characters
|
|
/libs/server-sdk/src/client_impl.cpp:166:64 [readability-identifier-length]:
/libs/server-sdk/src/client_impl.cpp#L166
parameter name '_' is too short, expected at least 3 characters
|
|
/libs/server-sdk/src/client_impl.cpp:163:10 [readability-identifier-length]:
/libs/server-sdk/src/client_impl.cpp#L163
variable name 'pr' is too short, expected at least 3 characters
|
|
/libs/server-sdk/src/client_impl.cpp:126:7 [readability-redundant-member-init]:
/libs/server-sdk/src/client_impl.cpp#L126
initializer for member 'status_manager_' is redundant
|
|
/libs/server-sdk/src/client_impl.cpp:115:31 [performance-unnecessary-value-param]:
/libs/server-sdk/src/client_impl.cpp#L115
the parameter 'config' is copied for each invocation but only used as a const reference; consider making it a const reference
|
|
|
|
|
|
/libs/server-sdk/include/launchdarkly/server_side/hooks/hook.hpp:453:7 [cppcoreguidelines-special-member-functions]:
/libs/server-sdk/include/launchdarkly/server_side/hooks/hook.hpp#L453
class 'Hook' defines a default destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator
|
|
/libs/server-sdk/include/launchdarkly/server_side/config/config_builder.hpp:92:5 [modernize-use-nodiscard]:
/libs/server-sdk/include/launchdarkly/server_side/config/config_builder.hpp#L92
function 'Build' should be marked [[nodiscard]]
|
|
/libs/server-sdk/include/launchdarkly/server_side/config/config.hpp:32:5 [modernize-use-nodiscard]:
/libs/server-sdk/include/launchdarkly/server_side/config/config.hpp#L32
function 'DataSystemConfig' should be marked [[nodiscard]]
|
|
cpp-linter
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>035j6aAAAAAC5L88QHjgKRqh+UPzszFeHQ0hJMzBFREdFMDMxOABFZGdl
|
|
cpp-linter
Failed to restore: Cache service responded with 400
|
|
Run clang-format on libs/server-sdk/tests/hooks_test.cpp:
libs/server-sdk/tests/hooks_test.cpp#L0
File libs/server-sdk/tests/hooks_test.cpp does not conform to Custom style guidelines. (lines 5, 52, 87, 88, 164, 165, 166, 167, 183, 184, 185, 186, 204, 205, 206, 207, 412, 413, 414, 415, 430, 431, 432, 433, 542, 543, 544, 545, 581, 582, 583, 584, 779, 780, 781, 782, 839, 840, 841, 842, 851, 856, 905, 906, 938, 939, 940, 941, 946, 949)
|
|
Run clang-format on libs/server-sdk/src/hooks/hook_executor.hpp:
libs/server-sdk/src/hooks/hook_executor.hpp#L0
File libs/server-sdk/src/hooks/hook_executor.hpp does not conform to Custom style guidelines. (lines 64, 65)
|
|
Run clang-format on libs/server-sdk/src/hooks/hook_executor.cpp:
libs/server-sdk/src/hooks/hook_executor.cpp#L0
File libs/server-sdk/src/hooks/hook_executor.cpp does not conform to Custom style guidelines. (lines 69, 70, 79, 85)
|
|
Run clang-format on libs/server-sdk/src/hooks/hook.cpp:
libs/server-sdk/src/hooks/hook.cpp#L0
File libs/server-sdk/src/hooks/hook.cpp does not conform to Custom style guidelines. (lines 9, 17, 44, 52, 79)
|
|
Run clang-format on libs/server-sdk/src/client_impl.hpp:
libs/server-sdk/src/client_impl.hpp#L0
File libs/server-sdk/src/client_impl.hpp does not conform to Custom style guidelines. (lines 101, 102, 103)
|
|
Run clang-format on libs/server-sdk/src/client_impl.cpp:
libs/server-sdk/src/client_impl.cpp#L0
File libs/server-sdk/src/client_impl.cpp does not conform to Custom style guidelines. (lines 249, 352, 365, 386, 401, 469, 493, 494, 525, 526, 527)
|
|
Run clang-format on libs/server-sdk/src/client.cpp:
libs/server-sdk/src/client.cpp#L0
File libs/server-sdk/src/client.cpp does not conform to Custom style guidelines. (lines 125, 169)
|
|
Run clang-format on libs/server-sdk/include/launchdarkly/server_side/client.hpp:
libs/server-sdk/include/launchdarkly/server_side/client.hpp#L0
File libs/server-sdk/include/launchdarkly/server_side/client.hpp does not conform to Custom style guidelines. (lines 280, 281, 282, 577, 578, 579)
|