You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: API.md still documents Spec::layer_sql/stat_sql removed in #569 #590
src/doc/API.md still documents Spec::layer_sql() and Spec::stat_sql(), but these methods were removed in #569 (afe60e6).
The affected section is "Query Introspection Methods" (around line 268): the table lists layer_sql / stat_sql, and the example below it calls spec.layer_sql(i) / spec.stat_sql(i), which no longer compiles against main.
For context: these accessors were already vestigial before removal — since #82, Spec::new() populated the backing fields with vec![None; ...], so they returned None in every released crate. The docs made the dead API look live (this confused at least one downstream binding — posit-dev/ggsql-python — into mirroring it).
Suggested fix: drop the two rows from the introspection table and the corresponding lines from the example. It may also be worth a sentence in that section noting that per-layer SQL is constructed centrally through the dialect layer at execution time and is no longer exposed on Spec.
Activity