Commit aa399be
Fix get_reference_table: propagate limit to query args (#248)
* Fix get_reference_table: propagate limit to query args
The signature accepted and documented a `limit` parameter, but the
function never forwarded it into `query_args`, so every call fetched
at the schema/server default regardless of what the user requested.
Forward `limit` into a copy of the user-supplied `query` dict (so the
caller's dict is not mutated) when it is not None.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Cover the limit + query branch with no-mutation assertion
Per copilot review on PR #248.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Drop trivial regression tests for limit propagation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 98b3057 commit aa399be
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1542 | 1542 | | |
1543 | 1543 | | |
1544 | 1544 | | |
1545 | | - | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
1546 | 1548 | | |
1547 | 1549 | | |
1548 | 1550 | | |
| |||
0 commit comments