Skip to content

improve flatten/unflatten with first class paths - #7567

Merged
mccanne merged 2 commits into
mainfrom
paths
Oct 30, 2026
Merged

mccanne merged 2 commits into
mainfrom
paths

Conversation

@mccanne

@mccanne mccanne commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread runtime/expr/function/flatten.go Outdated
func parsePathString(s string) []super.Value {
var elems []super.Value
for elem := range strings.SplitSeq(s, ".") {
if isDecimal(elem) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Call this isInteger?

@mccanne
mccanne merged commit 1685326 into main Oct 30, 2026
5 of 6 checks passed
@mccanne
mccanne deleted the paths branch October 30, 2026 19:42
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.

2 participants