Skip to content

Allow dropping redundant punctuation #464

Description

@flyingsilverfin

Problem to Solve

It would make TypeQL simpler and easier to read to be able to drop the trailing semicolon in places where a curly bracket is already a delimiter (for a start).

Examples:

match
  $x isa person;
  { $x has name "john"; } or { $x has name "bob"; };  ### could drop this one
match ...
fetch {
   .
};   ### make this one optional

We could also imagine it for the last statement in a block:

match
  $x isa person;
  $y isa person; ### drop this one
insert

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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