Skip to content

Debug mode produces \n instead of actual newline in console #42

@aryzing

Description

@aryzing

When debug mod is turned on, the console output is not properly formatted. The newlines appear as the sequence \n instead of actual newlines as shown in the following example output:

{"query":"\n      query getByName($name: string) {\n        getByName(func: anyofterms(name@., $name)) {\n          expand(_all_)\n        }\n      }\n    ","varsMap":[["name","Julia"]],"startTs":0,"linRead":{"idsMap":[]}}

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