-
Notifications
You must be signed in to change notification settings - Fork 206
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: generate tailcall config from rest endpoint. #1980
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1980 +/- ##
==========================================
+ Coverage 82.80% 83.78% +0.97%
==========================================
Files 183 198 +15
Lines 18278 19379 +1101
==========================================
+ Hits 15136 16236 +1100
- Misses 3142 3143 +1 ☔ View full report in Codecov by Sentry. |
- cover 100% tests in gql_type.
- updated config generation logic in tests.
- instead of scalar return actual type of primitives.
|
||
pub fn to_gql_type(value: &Value) -> String { | ||
match value { | ||
Value::Null => "Empty", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discuss about this, JSON scalar makes more sense as we're not sure about type.
- renamed method to is_graphql_compatible
…equired http directive.
Summary:
Briefly describe the changes made in this PR.
Issue Reference(s):
Fixes #... (Replace "..." with the issue number)
Build & Testing:
cargo test
successfully../lint.sh --mode=fix
to fix all linting issues raised by./lint.sh --mode=check
.Checklist:
<type>(<optional scope>): <title>