Skip to content

fix(ui): return JsVar root paths as values - #369

Merged
linkdata merged 2 commits into
mainfrom
fix/366-jsvar-root-get-path
Aug 17, 2026
Merged

fix(ui): return JsVar root paths as values#369
linkdata merged 2 commits into
mainfrom
fix/366-jsvar-root-get-path

Conversation

@linkdata

Copy link
Copy Markdown
Owner

Summary

  • return dot-only JsVar paths as logical T values instead of the backing *T
  • return zero T for root reads with a nil binding while preserving nested lookup behavior
  • cover root spellings, dotted nested paths, and error-free root logging with regressions

Testing

  • go generate ./...
  • go vet ./...
  • gofmt -l .
  • staticcheck ./...
  • golangci-lint run
  • gosec ./...
  • go build ./...
  • JAWS_REQUIRE_NODE=1 go test -race ./...
  • JAWS_REQUIRE_NODE=1 go test ./...

Fixes #366

@linkdata
linkdata merged commit 919f76d into main Aug 17, 2026
7 checks passed
@linkdata
linkdata deleted the fix/366-jsvar-root-get-path branch August 17, 2026 06:48
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.

ui: JsVar.JawsGetPath returns *T for documented root paths

1 participant