这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@danielgtaylor
Copy link
Owner

Small fix for how zero values were getting turned into a map.

Also updates the code to support generating schemas and GraphQL from the new Go 1.18 generics (type parameters) feature, which introduces some new fields into the generated types at compile time that we need to ignore.

@codecov
Copy link

codecov bot commented Mar 22, 2022

Codecov Report

Merging #33 (d0e1f45) into main (78d423d) will decrease coverage by 0.03%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
- Coverage   86.13%   86.10%   -0.04%     
==========================================
  Files          24       24              
  Lines        1890     1893       +3     
==========================================
+ Hits         1628     1630       +2     
- Misses        185      186       +1     
  Partials       77       77              
Impacted Files Coverage Δ
schema/schema.go 92.74% <66.66%> (-0.35%) ⬇️
context.go 88.75% <100.00%> (ø)
graphql_model.go 89.04% <100.00%> (+0.07%) ⬆️

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 78d423d...d0e1f45. Read the comment docs.

@danielgtaylor danielgtaylor merged commit e04f23d into main Mar 22, 2022
@danielgtaylor danielgtaylor deleted the fix-zero-slice branch March 22, 2022 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants