Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Missing function to strip multiline metadata annotations #22

Open
craicoverflow opened this issue Jul 7, 2020 · 0 comments
Open

Missing function to strip multiline metadata annotations #22

craicoverflow opened this issue Jul 7, 2020 · 0 comments

Comments

@craicoverflow
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant