Skip to content

Conversation

@nikku
Copy link
Owner

@nikku nikku commented Dec 4, 2025

Which issue does this PR address?

On top of #70 this PR ensures that we recognize types from externally passed lists:

# List (union type, external) { "context": { "list": [ { "a+": 1 }, { "b+": 1 } ] } }

list.b+

==>

Expression(
  PathExpression(VariableName(...),VariableName(...))
)

Today, those are not recognized.


Draft, because the alternative is that we improve typing of filter expressions list[1], and keep existing shape of externally passed list as an object with named (1, 2, ...) properties.

Base automatically changed from simplify-context-merging to main December 4, 2025 08:55
Ensure that list shape is computed for lists passed via context.
@nikku nikku force-pushed the preserve-list-type branch from f82f4cb to 2f06145 Compare December 4, 2025 08:56
@nikku nikku added the backlog label Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant