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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 19 Jan 2017 12:21AM UTC
Jobs 1
Files 147
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

pending completion
1611

push

travis-ci

leebyron
TypeInfo.getEnumValue() and EnumType.getValue(name)

This adds two new APIs to the schema utilities. One is for `TypeInfo` which is typically used alongside an AST visitor - now you can call `getEnumValue()` to get the GraphQLEnumValue instance referred to by the EnumValue ast node under visit.

Also, `EnumType.getValue(name)` accepts the name of an enum value and returns the GraphQLEnumValue instance associated with it. Beats running a `getValues().find(...)`.

11 of 11 new or added lines in 2 files covered. (100.0%)

8028 of 8197 relevant lines covered (97.94%)

1348.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/utilities/TypeInfo.js
Jobs
ID Job ID Ran Files Coverage
1 1611.1 19 Jan 2017 12:21AM UTC 0
97.94
Travis Job 1611.1
Source Files on build 1611
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1611
  • fefaccca on github
  • Next Build on enum-value (#1613)
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