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

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

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 19 Jan 2017 12:33AM 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
1613

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(...)`.

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

8034 of 8203 relevant lines covered (97.94%)

1347.57 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 1613.1 19 Jan 2017 12:33AM UTC 0
97.94
Travis Job 1613.1
Source Files on build 1613
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1613
  • 728f4d63 on github
  • Prev Build on enum-value (#1611)
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