Project

General

Profile

Actions

User story #18112

closed

Implement struct definition syntax

Added by Benoît PECCATTE over 4 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
rudderc
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

We want :

# non strict structure
struct A {
  a: String,
  b: Integer
}
# implicit type structure
struct A {
  a, b # 2 strings
}

We could also have an implicit struct declaration during definition

# magic
let var.a 
let var.b
# classic
let var.a = "ok" 
let var.b = "ko" 
# classic 2
let var = { a = "ok", b= "ko" }


Subtasks 1 (0 open1 closed)

Architecture #18115: Implement struct typeReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF