Skip to content

Directives should be allowed inline #1933

@timotheeguerin

Description

@timotheeguerin

Right now suppress needs to be on its own line, it would be nice to be able to target every nodes in the syntax tree. Otherwise we are unable to suppress everything

model Foo {

  name: string;


  nested: #suppress("no-nullable" "We do actually need no nullable for this nested props") {
    prop1: string | null;
    prop2: string | null;
  }
}
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    design:neededA design request has been raised that needs a proposal

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions