Closed kwhitley closed 9 years ago
Compared to (working):
tree.setOptions({ log: true }).grow([
{ 'foo': 'bar', 'logs:a': 1 },
{ 'foo': 'bar', 'logs:a': 2 },
{ 'foo': 'baz', 'logs:a': 3 },
]);
SIGNATURE> { nodes:
[ { path: '',
attributes: [ { name: 'foo', key: 'foo' } ],
blueprint: [ { name: 'foo', key: 'foo' } ],
isCollection: true,
name: undefined,
depth: 0,
parent: '' },
{ path: 'logs',
attributes: [ { name: 'a', key: 'logs:a' } ],
blueprint: [ { name: 'a', key: 'logs:a' } ],
isCollection: true,
name: 'logs',
depth: 1,
parent: '' } ],
type: 'object',
isFixed: false }
PROCESSING NODE> { path: '',
attributes: [ { name: 'foo', key: 'foo' } ],
blueprint: [ { name: 'foo', key: 'foo' } ],
isCollection: true,
name: undefined,
depth: 0,
parent: '' }
creating attribute "foo" within blueprint baz
creating attribute "foo" within extended blueprint baz
EXTENDED BLUEPRINT> { foo: 'baz' }
BLUEPRINT> { foo: 'baz' }
PARENT TRAIL NOT FOUND (ROOT?)
PROCESSING NODE> { path: 'logs',
attributes: [ { name: 'a', key: 'logs:a' } ],
blueprint: [ { name: 'a', key: 'logs:a' } ],
isCollection: true,
name: 'logs',
depth: 1,
parent: '' }
creating attribute "a" within blueprint 3
creating attribute "a" within extended blueprint 3
EXTENDED BLUEPRINT> { a: 3 }
BLUEPRINT> { a: 3 }
inserting into collection node { foo: 'baz' }
BASE> [ { foo: 'bar', logs: [ { a: 1 }, { a: 2 } ] },
{ foo: 'baz', logs: [ { a: 3 } ] } ]
STATS> { time: { total: 12, signatures: 1 }, rows: 3, sources: 1 }
fails to create collection...