parser icon indicating copy to clipboard operation
parser copied to clipboard

Fails to parse when body includes something that looks like a scope with new line

Open Otard95 opened this issue 11 months ago • 0 comments

I originally came across this when release-please didn't pick up one of our commits. Eventually I tracked it down to this package. I'm creating a PR, mostly to provide the failing test showing the issue. I minimized the test as much as possible, here's a snippet of the original text from the commit that failed to parse, if that's helpful:

    ```graphql
@​link(url: "https://specs.apollo.dev/federation/v2.6", import:
[..., "@​policy"])
    ```

The code block is a result of the text in this PR apollographql/federation#2818 ending up in one of our Renovate PR's and subsequently commit body.

Otard95 avatar Mar 18 '24 15:03 Otard95