Skip to content

docs: update setup docs for MalloyConfig discovery and overlays#304

Merged
mtoy-googly-moogly merged 1 commit intomainfrom
docs/cli-config-modes
Apr 10, 2026
Merged

docs: update setup docs for MalloyConfig discovery and overlays#304
mtoy-googly-moogly merged 1 commit intomainfrom
docs/cli-config-modes

Conversation

@mtoy-googly-moogly
Copy link
Copy Markdown
Contributor

@mtoy-googly-moogly mtoy-googly-moogly commented Apr 10, 2026

Summary

  • cli.malloynb: Document three config modes (--config, --project-dir, default), --project-dir default connection behavior, DuckDB working directory resolution by config mode, and --project-dir in global options
  • config.malloynb: Add includeDefaultConnections section, config file discovery with malloy-config-local.json overrides, DuckDB workingDirectory default from project root, Snowflake schemaSampleTimeoutMs property
  • extension.malloynb: Rewrite connection resolution priority (project > global > settings+defaults), document local config overrides, update sidebar description, fix DuckDB relative path resolution (workspace root, not .malloy file directory)

Test plan

  • Review rendered docs for accuracy against malloy-cli 0.0.374+ behavior
  • Verify links between cli.malloynb and config.malloynb still resolve

🤖 Generated with Claude Code

…config

Reflects the new config loading modes (--config, --project-dir, default),
includeDefaultConnections, config file discovery with local overrides,
DuckDB working directory resolution via overlays, and updated VS Code
extension connection sidebar behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mtoy-googly-moogly mtoy-googly-moogly merged commit c276faa into main Apr 10, 2026
5 checks passed
@mtoy-googly-moogly mtoy-googly-moogly deleted the docs/cli-config-modes branch April 10, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant