api-fu
api-fu copied to clipboard
experimental sdl package
What it Does
Highly experimental package for schema-first development of GraphQL and JSON:API APIs.
The goals here might not even be feasible. Inheritance and nesting of resources in JSON:API are very at odds with idiomatic GraphQL.
Steps to Test
go test -v ./...
Codecov Report
Merging #64 (f84e06c) into main (f89fed0) will increase coverage by
0.41%
. The diff coverage is91.56%
.
@@ Coverage Diff @@
## main #64 +/- ##
==========================================
+ Coverage 79.72% 80.13% +0.41%
==========================================
Files 62 66 +4
Lines 5105 5271 +166
==========================================
+ Hits 4070 4224 +154
- Misses 684 694 +10
- Partials 351 353 +2
Files Changed | Coverage Δ | |
---|---|---|
sdl/ast/ast.go | 0.00% <0.00%> (ø) |
|
sdl/scanner/scanner.go | 95.60% <95.60%> (ø) |
|
sdl/scanner/string_value.go | 100.00% <100.00%> (ø) |
|
sdl/token/token.go | 100.00% <100.00%> (ø) |