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

Conversation

@danielgtaylor
Copy link
Owner

This PR adds a feature to ignore certain URL path prefixes when generating the GraphQL interface. This allows you to opt-out for some paths or groups of paths in the HTTP API, for example if they make no sense in the GraphQL interface or if multiple URL paths (temporarily) resolve to the same Huma handlers in your API.

@codecov
Copy link

codecov bot commented Jul 27, 2022

Codecov Report

Merging #57 (224f50b) into main (2754f42) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   86.62%   86.64%   +0.02%     
==========================================
  Files          24       24              
  Lines        1952     1955       +3     
==========================================
+ Hits         1691     1694       +3     
  Misses        186      186              
  Partials       75       75              
Impacted Files Coverage Δ
graphql.go 86.93% <100.00%> (+0.22%) ⬆️

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 2754f42...224f50b. Read the comment docs.

@danielgtaylor danielgtaylor merged commit 51e4a54 into main Jul 27, 2022
@danielgtaylor danielgtaylor deleted the graphql-ignore-prefix branch July 27, 2022 19:15
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.

3 participants