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

graphql / express-graphql
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: pr_branch
DEFAULT BRANCH: master
Repo Added 11 Aug 2015 03:58AM UTC
Files 5
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

LAST BUILD ON BRANCH graphiql
branch: graphiql
CHANGE BRANCH
x
Reset
  • graphiql
  • custom-format-error
  • dependabot/npm_and_yarn/acorn-7.1.1
  • dependabot/npm_and_yarn/acorn-7.2.0
  • dependabot/npm_and_yarn/eslint-utils-1.4.2
  • master
  • safe-get
  • upgrade-graphiql
  • v0.1.1
  • v0.2.0
  • v0.3.0
  • v0.4.0
  • v0.4.10
  • v0.4.11
  • v0.4.12
  • v0.4.13
  • v0.4.2
  • v0.4.3
  • v0.4.4
  • v0.4.5
  • v0.4.6
  • v0.4.7
  • v0.4.8
  • v0.4.9
  • v0.5.0
  • v0.5.2
  • v0.5.3
  • v0.7.0
  • v0.7.1
  • v0.9.0

pending completion
41

push

travis-ci

leebyron
[RFC] GraphiQL when loaded in browser

This RFC adds an opt-in behavior of express-graphql to render a fully functional GraphiQL instance when loaded from a browser - determed as anything that prefers HTML over JSON from the Accept header.

GraphiQL mode is enabled by providing `graphiql: true` in the options bag. It defaults to `false` which is a reasonable default, but also ensures any existing use updating to this version will not unknowingly add this feature. The examples in the README have been changed to enable GraphiQL, ideally all future users will leave this on, cargo-cult from README is likely.

When GraphiQL is shown, the query result is run on the server first and presented immediately in the GraphiQL UI.

If you wish to use the browser as a cheap cURL, just add `&raw` to the end of the URL and GraphiQL is replaced by raw JSON output.

One small detail: any non-GraphQL GET params provided will be carried through by GraphiQL when executing queries. Ideally this covers the majority of authentication cases where are likely to look something like `https://mysite/graphql?oauth=abc123&query={yo}`.

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

428 of 428 relevant lines covered (100.0%)

9.45 hits per line

Relevant lines Covered
Build:
Build:
428 RELEVANT LINES 428 COVERED LINES
9.45 HITS PER LINE
Source Files on graphiql
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
41 graphiql [RFC] GraphiQL when loaded in browser This RFC adds an opt-in behavior of express-graphql to render a fully functional GraphiQL instance when loaded from a browser - determed as anything that prefers HTML over JSON from the Accept header. Graphi... push 29 Sep 2015 11:20PM UTC leebyron travis-ci pending completion  
35 graphiql [RFC] GraphiQL when loaded in browser This RFC adds an opt-in behavior of express-graphql to render a fully functional GraphiQL instance when loaded from a browser - determed as anything that prefers HTML over JSON from the Accept header. Graphi... push 29 Sep 2015 07:07PM UTC leebyron travis-ci pending completion  
34 graphiql [RFC] GraphiQL when loaded in browser This RFC adds an opt-in behavior of express-graphql to render a fully functional GraphiQL instance when loaded from a browser - determed as anything that prefers HTML over JSON from the Accept header. Graphi... push 29 Sep 2015 04:17PM UTC leebyron travis-ci pending completion  
31 graphiql [RFC] GraphiQL when loaded in browser This RFC adds an opt-in behavior of express-graphql to render a fully functional GraphiQL instance when loaded from a browser - determed as anything that prefers HTML over JSON from the Accept header. Graphi... push 29 Sep 2015 07:40AM UTC leebyron travis-ci pending completion  
See All Builds (416)
  • Repo 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