Repository navigation
server-variable-selectors - #887
Merged
Merged
Conversation
general-kroll-4-life
force-pushed
the
feature/server-variable-selectors
branch
3 times, most recently
from
November 2, 2026 12:29
4f30505 to
581f11b
Compare
Summary: - Support opt-in endpoint selection through Omni server-variable metadata for SELECT, mutations and EXEC. - Apply endpoint binding precedence consistently: explicit SQL input, session alias parameter defaults, direct environment override, environment selector choice, then the selector's declared default key. - Keep ordinary OpenAPI endpoint defaults unapplied; preserve required-input errors when no declared binding resolves. - Reject unknown selector choices, invalid selector defaults and conflicting method endpoint bindings instead of choosing an arbitrary fallback. - Reflect resolved endpoint bindings and session alias defaults in SHOW METHODS RequiredParams. - Preserve server-variable metadata through completed-method wrappers used by awaited mutations. - Resolve document OAuth token endpoint variables through the same Omni annotations; keep per-alias token authorities explicit through auth.token_url. - Consume Omni v0.1.10-alpha01 for the shared server-variable resolver and metadata interfaces. - Document endpoint selector precedence, normalization, error behaviour and OAuth endpoint boundaries in the developer guide. - Add isolated mock-backed Robot coverage using the existing native/Docker and SQLite/PostgreSQL harness, checking token and API requests without changing existing provider fixtures. - Added `robot` test `Default Selector Matches Query Show And Exec`. - Added `robot` test `Selector And Direct Override Apply To Exec`. - Added `robot` test `SQL And Alias Defaults Override Environment`. - Added `robot` test `Mutation Uses The Same Selector`. - Added `robot` test `Unknown Selector Fails Before Requests`.
general-kroll-4-life
force-pushed
the
feature/server-variable-selectors
branch
from
November 2, 2026 12:35
581f11b to
52835df
Compare
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.
Description
Type of change
Issues referenced.
Related to
omnisdkissue 32.Evidence
robottestDefault Selector Matches Query Show And Exec.robottestSelector And Direct Override Apply To Exec.robottestSQL And Alias Defaults Override Environment.robottestMutation Uses The Same Selector.robottestUnknown Selector Fails Before Requests.Checklist:
Variations
N/A.
Tech Debt
No technical debt is added in this change.