kraph icon indicating copy to clipboard operation
kraph copied to clipboard

Field objects are allowed to be supplied without declaring blocks

Open rudy-on-rails opened this issue 5 years ago • 1 comments

GraphQL endpoints do not necessarily need to specify fields as arguments when a mutation or query is received. Diverse implementations on the server-side will allow for returning non-standardized data formats, such as JSON, which breaks this library.

Fixes: https://github.com/VerachadW/kraph/issues/31

rudy-on-rails avatar Aug 20 '20 16:08 rudy-on-rails

Codecov Report

Merging #37 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #37   +/-   ##
=========================================
  Coverage     88.55%   88.55%           
  Complexity       68       68           
=========================================
  Files            16       16           
  Lines           166      166           
  Branches         28       28           
=========================================
  Hits            147      147           
  Misses           10       10           
  Partials          9        9           
Impacted Files Coverage Δ Complexity Δ
core/src/main/kotlin/me/lazmaid/kraph/Kraph.kt 96.77% <100.00%> (ø) 14.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b4f3761...fa91f3b. Read the comment docs.

codecov-commenter avatar Aug 20 '20 16:08 codecov-commenter