graphql-metadata icon indicating copy to clipboard operation
graphql-metadata copied to clipboard

Missing function to strip multiline metadata annotations

Open craicoverflow opened this issue 4 years ago • 0 comments

stripAnnotations can remove any line that begins with @, but will not strip multiline metadata annotations like this:

"""
@model(
  create: true,
  update: false
)
"""
type User {
}

A stripMetadata function is needed for this.

craicoverflow avatar Jul 07 '20 11:07 craicoverflow