-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The spec currently specifies that key-chaining can be mixed with full-object representation:
Lines 409 to 419 in b5084cb
| The 'standard' nested object syntax can be mixed with key chaining: | |
| ```corn | |
| { | |
| foo = { | |
| bar = 42 | |
| } | |
| foo.pi = 3.14 | |
| } | |
| ``` |
What is not specified is whether this should be supported in reverse, ie chaining prior to the full-object.
{
value.foo = 42
value = { bar = 3.14 }
}
The current (v0.10) behaviour is that foo is overwritten and lost.
{ "value": { "bar": 3.14 } }Should this be the the case, or should the expected result be an object with both foo and bar?
A decision is required, and the spec needs to be updated either way.
Metadata
Metadata
Assignees
Labels
No labels