evenchange4 / graphql.macro

Compile GraphQL AST at build-time with babel-plugin-macros.
MIT License
239 stars 21 forks source link

feat: add support for jsconfig.json include option #93

Closed FezVrasta closed 5 years ago

FezVrasta commented 5 years ago

The PR only works with the first include path and will ignore multiple paths if present (will just use the first one). Adding support for multiple paths would increase complexity.

Fixes #92

codecov[bot] commented 5 years ago

Codecov Report

Merging #93 into master will increase coverage by 0.37%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
+ Coverage   95.45%   95.83%   +0.37%     
==========================================
  Files           5        5              
  Lines          44       48       +4     
  Branches        6        8       +2     
==========================================
+ Hits           42       46       +4     
  Misses          2        2
Impacted Files Coverage Δ
src/utils/resolveImportPath.js 91.66% <100%> (+4.16%) :arrow_up:

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 7b6bede...111125b. Read the comment docs.