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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 24 Aug 2016 11:42PM UTC
Jobs 1
Files 138
Run time 10s
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
1162

push

travis-ci

leebyron
Advantage common convention for naming root types.

This is a result of a conversation I had with @lacker that we should provide a stronger opinion on what to name the root types, and then advantage that opinion. Here's the result of that:

If you use the type names `Query` and `Mutation` for your root types, then printing the schema or parsing a schema IDL can omit the `schema { query: Query, mutation: Mutation }` boilerplate. If your root type names are anything other than these, then you have to include it.

There doesn't seem to be a significant downsite to this except for the relative complication of understanding why sometimes a `schema {}` description is included and sometimes it isn't.

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

7422 of 7555 relevant lines covered (98.24%)

1398.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
src/utilities/buildASTSchema.js
2
100.0
src/utilities/schemaPrinter.js
Jobs
ID Job ID Ran Files Coverage
1 1162.1 24 Aug 2016 11:42PM UTC 0
98.24
Travis Job 1162.1
Source Files on build 1162
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1162
  • ea7585c6 on github
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