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

99designs / gqlgen / 19448770309
0%

Build:
DEFAULT BRANCH: master
Ran 18 Nov 2025 12:02AM UTC
Jobs 1
Files 0
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

17 Nov 2025 11:59PM UTC coverage: 0.0%. Remained the same
19448770309

push

github

web-flow
feat: add @inlineArguments directive for cleaner resolver signatures (#3924)

* feat: add @inlineArguments directive for cleaner resolver signatures

Implements the @inlineArguments directive which allows input object fields
to be expanded as inline arguments in GraphQL queries while bundling them
into a single parameter in resolver signatures.

This provides the best of both worlds:
- Clean, flat argument syntax for API consumers
- Simple, bundled parameter signatures for resolvers

Example:
  input SearchFilters @goModel(model: "map[string]any") {
    query: String
    category: String
  }

  type Query {
    search(filters: SearchFilters @inlineArguments): [Result!]!
  }

Clients use flat syntax: search(query: "test", category: "books")
Resolvers receive bundled param: Search(ctx, filters map[string]any)

Implementation:
- Schema transformation in codegen/inline_arguments.go
- Runtime schema expansion in generated code templates
- Resolver bundling logic in codegen/field.go
- Schema embedding in codegen/data.go

Test Coverage (11 integration tests + 2 unit tests):
- Flat vs wrapped argument syntax
- Partial and no arguments
- Required vs optional fields
- Default values on inlined arguments
- Mixed inline + regular arguments
- Schema reuse (same input type, multiple fields)
- Mutations with inlined arguments
- Directive preservation (@deprecated on fields)
- Introspection verification
- Error handling and validation

Closes #3884

* Minor refactor

Signed-off-by: Steve Coffman <steve@khanacademy.org>

---------

Signed-off-by: Steve Coffman <steve@khanacademy.org>
Co-authored-by: Steve Coffman <steve@khanacademy.org>

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19448770309.1 18 Nov 2025 12:01AM UTC 0
0.0
GitHub Action Run
Source Files on build 19448770309
Detailed source file information is not available for this build.
  • Back to Repo
  • d4cb94b0 on github
  • Prev Build on master (#19448007149)
  • Next Build on master (#19450593398)
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