This website requires JavaScript.
Explore
Help
Sign In
vitalif-js
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
79fe6d8ab2
prettier
/
tests
/
graphql_newline
/
directive_decl.graphql
11 lines
99 B
GraphQL
Raw
Normal View
History
Unescape
Escape
Preserve intentional new lines in GraphQL (#3252) * Preserve intentional new lines in GraphQL * Move function to bottom * Rename arg * Refactor * Add comments in tests and support for arguments
2017-11-12 07:10:54 +03:00
directive
@dir
(
# comment
arg1
:
String
# comment
arg2
:
String
arg3
:
String
Update GraphQL parser (#3605) * Update GraphQL parser Fixes #3601 This adds support for - description as strings - extending all the possible types - block strings - allow removing {} if there's no implementation for all graphql types This is a breaking change but shouldn't be a big issue. - Empty types are no longer allowed (there's an option to enable it but it hasn't been released yet). The fix is to remove `{}` Something that hasn't been changed because not released: - Doesn't support the new `&` separator for implementing multiple interfaces A bug has been fixed: - Now properly prints @directives for unions. * Properly handle triple quotes
2017-12-31 18:45:06 +03:00
)
on
QUERY