Fixes #4615 The root cause is the output doc from graphql printer does not match the desired input from `stripTrailingHardline`. https://github.com/prettier/prettier/blob/a9b21a01e2d352aab06332e8e545e33efacc4f97/src/doc/doc-utils.js#L167-L180
10 lines
73 B
JavaScript
10 lines
73 B
JavaScript
graphql`
|
|
fragment x on y {
|
|
z
|
|
}
|
|
|
|
fragment a on b {
|
|
c
|
|
}
|
|
`;
|