Repository navigation
feat(config): add runtime binding contract - #159
Merged
Merged
Conversation
Add typed-erased programmatic binding storage, resolver and logger factory interfaces, and atomic runtime instantiation for materialized plans. Required bindings are checked before factory calls, diagnostics are rebased to document paths, and caller-visible logger sets remain unchanged on failure.
Reject null required bindings, record type_index metadata for safe typed retrieval, and resolve every logger binding before invoking any factory. Clarify that only caller-visible logger publication is atomic while factory side effects remain non-transactional, and extend regression coverage for null, type mismatch, and late binding failures.
Document that factories must retrieve required bindings with the expected type and fail closed on mismatch. Extend the runtime contract regression to verify a wrong typed binding reaches the factory, produces a diagnostic, and leaves the caller-visible logger set unchanged.
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
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.
Summary\n- add typed-erased programmatic binding storage\n- add binding resolver and runtime logger factory interfaces\n- resolve required bindings before instantiation\n- publish runtime logger sets atomically and rebase diagnostics to loggers[N]\n\n## Scope\n- no JSON/properties frontend\n- no hot reload\n- runtime creation remains injected through ConfigurationLoggerFactory\n\n## Verification\n- configuration_contract_test\n- full C++11 Release CTest: 62/62 passed\n- git diff --check