• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

graphql / graphql-js / 2323
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 22 Jun 2017 12:06AM UTC
Jobs 1
Files 161
Run time 12s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2323

push

travis-ci

leebyron
RFC: Long String (Multi-line String)

This RFC adds a new lexed token, the "long string" aka multi-line string, similar to that found in Python and Scala.

A long string starts and ends with a triple-quote:

```
"""This is a long string
and it can contain multiple lines"""
```

Long strings are useful for typing literal bodies of text where new lines should be interpretted literally. In fact, the only escape sequence used is `\"""` and `\` is otherwise allowed unescaped. This is beneficial when writing documentation within strings which may reference the back-slash often:

```
"""
In a long-string \n and C:\\ are unescaped.
"""
```

The primary value of long-strings are to write long-form input directly in query text, in tools like GraphiQL, and as a prerequisite to another pending RFC to allow docstring style documentation in the Schema Definition Language.

3408 of 3760 branches covered (90.64%)

47 of 47 new or added lines in 4 files covered. (100.0%)

8912 of 9091 relevant lines covered (98.03%)

1283.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2323.1 22 Jun 2017 12:06AM UTC 0
98.03
Travis Job 2323.1
Source Files on build 2323
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #2323
  • c0f823dc on github
  • Next Build on rfc-longstring (#2325)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc