Skip to content

fix(ui): align JsVar array paths with JavaScript - #362

Merged
linkdata merged 1 commit into
mainfrom
fix/issue-357-jsvar-array-indices
Aug 15, 2026
Merged

fix(ui): align JsVar array paths with JavaScript#362
linkdata merged 1 commit into
mainfrom
fix/issue-357-jsvar-array-indices

Conversation

@linkdata

Copy link
Copy Markdown
Owner

Summary

  • Upgrade github.com/linkdata/jq to v0.3.0 so generic Go array and slice paths use canonical JavaScript array-index names.
  • Preserve exact string-keyed map and JSON field names, and leave custom PathSetter validation application-defined.
  • Document the path contract and add regressions through the live request loop and bundled JavaScript client.

Testing

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

Fixes #357

@linkdata
linkdata merged commit f33de8e into main Aug 15, 2026
7 checks passed
@linkdata
linkdata deleted the fix/issue-357-jsvar-array-indices branch August 15, 2026 12:46
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: noncanonical numeric JsVar paths address different members in Go and JavaScript

1 participant