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

Conversation

@danielgtaylor
Copy link
Owner

This PR enables the use of an optional read-only GraphQL endpoint and introduces a graphParam struct field tag to facilitate field to parameter mappings for nested resources. See the README and test for more info & an example.

@codecov
Copy link

codecov bot commented Feb 27, 2022

Codecov Report

Merging #27 (33ddff3) into main (b8b221c) will increase coverage by 0.86%.
The diff coverage is 85.58%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   84.85%   85.71%   +0.86%     
==========================================
  Files          21       24       +3     
  Lines        1459     1799     +340     
==========================================
+ Hits         1238     1542     +304     
- Misses        159      181      +22     
- Partials       62       76      +14     
Impacted Files Coverage Δ
context.go 87.27% <0.00%> (-1.62%) ⬇️
openapi.go 94.28% <ø> (ø)
graphql_paginator.go 57.89% <57.89%> (ø)
graphql.go 86.70% <86.70%> (ø)
graphql_model.go 88.96% <88.96%> (ø)
resolver.go 84.77% <100.00%> (+4.19%) ⬆️
operation.go 76.00% <0.00%> (+1.59%) ⬆️
resource.go 74.07% <0.00%> (+3.70%) ⬆️

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 b8b221c...33ddff3. Read the comment docs.

@danielgtaylor danielgtaylor added the enhancement New feature or request label Feb 28, 2022
@danielgtaylor danielgtaylor merged commit 269f9ad into main Mar 4, 2022
@danielgtaylor danielgtaylor deleted the graphql branch March 4, 2022 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants