Skip to content

Nicer rendering for queries #9

@edubrovski

Description

@edubrovski

Currently we don't do any formatting when rendering queries.

  1. Let's use newlines and tabs to make queries more readable, e.g
{ $and:
    [
        {  "intField": { $eq: 3 } },
        { "stringField": { $ne: "some" } }
    ]
}

instead of

{ $and: [ { "intField": { $eq: 3 } }, { "stringField": { $ne: "some" } } ] }
  1. Use a compiler flag to enable/disable AST printing; disable AST printing by default.

@oolong/maintainers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions