-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(#13, #9): --graphql, --schema #55
Conversation
@rultor merge |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #55 +/- ##
==========================================
+ Coverage 9.35% 18.75% +9.39%
==========================================
Files 9 10 +1
Lines 171 192 +21
Branches 34 41 +7
==========================================
+ Hits 16 36 +20
- Misses 155 156 +1 ☔ View full report in Codecov by Sentry. |
@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here |
@h1alexbel Done! FYI, the full log is here (took me 22min) |
@rultor release, tag is |
@h1alexbel OK, I will release it now. Please check the progress here |
@h1alexbel Done! FYI, the full log is here (took me 21min) |
In this pull, I've introduced new CLI parameters:
--graphql
,--schema
for dynamic query and parsing.closes #13
closes #9
History:
--graphql
for graphql API query #13): --graphql--graphql
for graphql API query #13): docs--graphql
for graphql API query #13): repositoryCount tooPR-Codex overview
This PR focuses on refactoring the way GraphQL queries are handled in the project, moving from a hardcoded query string to reading the query from a file. It also introduces a new utility for accessing nested properties in objects and adds tests for these functionalities.
Detailed summary
query
intest/resources/query.graphql
.src/graph.js
to read the GraphQL query from a file.nestedProp
function insrc/nested-prop.js
for accessing nested properties.graph.js
intest/graph.test.js
.nestedProp
intest/nested-prop.test.js
.src/index.js
to utilize the new query reading method.README.md
to include new command-line options for GraphQL query and schema file paths.