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

graphql / graphql-js / 2693 / 1
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2017 08:43PM UTC
Files 171
Run time 8s
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

04 Dec 2017 08:41PM UTC coverage: 98.838% (-0.008%) from 98.846%
2693.1

push

travis-ci

web-flow
Fix infinite loop on invalid queries in OverlappingFields (#1111)

`OverlappingFieldsCanBeMerged` would infinite loop when passed something like

```graphql
fragment A on User {
  name
  ...A
}
```

It's not `OverlappingFieldsCanBeMerged`'s responsibility to detect that validation error, but we still would ideally avoid infinite looping.

This detects that case, and pretends that the infinite spread wasn't there for the purposes of this validation step.

Also, by memoizing and checking for self-references this removes duplicate reports.

Closes #780

3874 of 4359 branches covered (88.87%)

9442 of 9553 relevant lines covered (98.84%)

1289.89 hits per line

Source Files on job 2693.1
  • Tree
  • List 0
  • Changed 15
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2693
  • Travis Job 2693.1
  • 4a6c8ca7 on github
  • Prev Job for on master (#2690.1)
  • Next Job for on master (#2696.1)
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

© 2026 Coveralls, Inc