Skip to content

Illustrate flattening of the format #24

Description

@nichtich

List of errors with common error type:

{ "types": ["constraint-42"], "message": "an error in line 3" }
{ "types": ["constraint-42"], "message": "an error in line 5" }

Same as report:

{
  "types": ["constraint-42"],
  "errors": [
    { "message": "an error in line 3" },
    { "message": "an error in line 5" }
] }

Same as report with common position:

{
  "dimension": "file",
  "address": "example.txt",
  "types": ["constraint-42"],
  "errors": [
    { "message": "an error in line 3" },
    { "message": "an error in line 5" }
] }

Same as multiple reports - maybe we need to add a rule to the specification to allow merging of multiple reports with identical dimension, address, and types (normalized form):

{
  "dimension": "file", "address": "example.txt",
  "types": ["constraint-42"],  "errors": [ { "message": "an error in line 3" } ]
}
{
  "dimension": "file", "address": "example.txt",
  "types": ["constraint-42"],  "errors": [ { "message": "an error in line 5" } ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions