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

vektah / gqlparser / 842
88%
master: 87%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/validator/imported/actions-deps-8a5060b00a
DEFAULT BRANCH: master
Ran 29 Oct 2025 08:06PM 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

29 Oct 2025 07:59PM UTC coverage: 87.549% (-0.03%) from 87.575%
842

Pull #396

circleci

lbarthon
fix(validator): allow nullable variables for nonnull args with default

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
  }
}
```
Pull Request #396: fix(validator): allow nullable variables for nonnull args with default

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

4704 of 5373 relevant lines covered (87.55%)

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 842.1 29 Oct 2025 08:06PM UTC 56
87.55
CircleCI Job
Source Files on build 842
  • Tree
  • List 56
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #842
  • Pull Request #396
  • PR Base - master (#841)
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