Fix GraphQL dangling comment print (#18581)
This commit is contained in:
1 parent
360b8681d9
commit
7a76a9b119
4 files changed
+72
-4
No files matched your search
@@ -0,0 +1,27 @@
|
||||
#### Fix comment print (#18581 by @fisker)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```gql
|
||||
# Input
|
||||
query {
|
||||
search(filters: {
|
||||
# TODO
|
||||
}) {
|
||||
id
|
||||
}
|
||||
}
|
||||
|
||||
# Prettier stable
|
||||
Error: Comment "TODO" was not printed. Please report this error!
|
||||
|
||||
# Prettier main
|
||||
query {
|
||||
search(
|
||||
filters: {
|
||||
# TODO
|
||||
}
|
||||
) {
|
||||
id
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user