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

vektah / gqlparser / 845
87%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2025 01:01AM UTC
Jobs 1
Files 56
Run time 1min
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

30 Oct 2025 01:00AM UTC coverage: 87.484% (-0.03%) from 87.509%
845

push

circleci

web-flow
fix(validator): allow nullable variables for nonnull args with default (#396)

The validation was failing for arguments that are defined as required, but have
a default value, preventing a non-required argument to override their value,
while it should work as expected.

Given the tests are imported from JS, I'm not sure how to add a new one there.
Here's an example schema and query to reproduce this:
```
type Query {
  user(username: String! = "foo"): User
}

type User {
  username: String!
}
```

```
query Foo($username: String) {
  user(username: $username) {
    username
  }
}
```

3 of 5 new or added lines in 2 files covered. (60.0%)

4704 of 5377 relevant lines covered (87.48%)

1.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.59
-7.41% validator/rules/variables_in_allowed_position.go
Jobs
ID Job ID Ran Files Coverage
1 845.1 30 Oct 2025 01:01AM UTC 56
87.48
CircleCI Job
Source Files on build 845
  • Tree
  • List 56
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #845
  • 5b412693 on github
  • Prev Build on master (#844)
  • Next Build on master (#847)
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