iterative / ldb

Apache License 2.0
3 stars 0 forks source link

EVAL: need to separate object sections with empty lines #78

Closed volkfox closed 2 years ago

volkfox commented 2 years ago

We have:

$ ldb eval -q @ ds:nooka
0x18de96e5871380ce1594b55d906ca816
{
  "class": "cat",
  "breed": {
    "type": "maincoon",
    "size": "large"
  }
}
0x8c41eaa3eaba1e6b24ec4712e420ab55
null
0xdd7ad1dcc3e4e1dc319b7641d158c596
{
  "class": "dog",
  "breed": {
    "type": "husky",
    "size": "large"
  }
}

We need:

$ ldb eval -q @ ds:nooka
0x18de96e5871380ce1594b55d906ca816
{
  "class": "cat",
  "breed": {
    "type": "maincoon",
    "size": "large"
  }
}

0x8c41eaa3eaba1e6b24ec4712e420ab55
null

0xdd7ad1dcc3e4e1dc319b7641d158c596
{
  "class": "dog",
  "breed": {
    "type": "husky",
    "size": "large"
  }
}
jonburdo commented 2 years ago

This one is already fixed in main