Skip to content
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

Add DataLoader functionality #1566

Merged

Conversation

MohamedSabthar
Copy link
Member

@MohamedSabthar MohamedSabthar commented Aug 2, 2023

Purpose

Fixes: ballerina-platform/ballerina-library#4569

  • Minor refactoring changes

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility
  • No commons package changes (if there are any, please update the GraphQL version in GraphQL tools)

@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Patch coverage: 88.15% and project coverage change: +1.37% 🎉

Comparison is base (2c55e65) 85.42% compared to head (d1a8826) 86.79%.
Report is 86 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1566      +/-   ##
============================================
+ Coverage     85.42%   86.79%   +1.37%     
- Complexity        0      631     +631     
============================================
  Files            94      121      +27     
  Lines          6279     8628    +2349     
  Branches       3027     3476     +449     
============================================
+ Hits           5364     7489    +2125     
- Misses          848      877      +29     
- Partials         67      262     +195     
Files Changed Coverage Δ
ballerina/annotations.bal 100.00% <ø> (ø)
ballerina/common_utils.bal 91.79% <ø> (ø)
ballerina/modules/parser/utils.bal 83.01% <ø> (ø)
.../ballerina/stdlib/graphql/commons/utils/Utils.java 75.60% <ø> (+75.60%) ⬆️
...dlib/graphql/runtime/engine/ExecutionCallback.java 62.50% <ø> (ø)
...va/io/ballerina/stdlib/graphql/compiler/Utils.java 63.70% <66.66%> (ø)
...rvice/validator/FunctionDefinitionNodeVisitor.java 71.42% <71.42%> (ø)
...rina/stdlib/graphql/runtime/engine/DataLoader.java 75.00% <75.00%> (ø)
ballerina/value_tree_builder.bal 80.95% <80.95%> (ø)
...vice/validator/ResourceConfigAnnotationFinder.java 82.35% <82.35%> (ø)
... and 18 more

... and 32 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MohamedSabthar MohamedSabthar marked this pull request as draft August 2, 2023 06:05
@MohamedSabthar MohamedSabthar marked this pull request as ready for review August 2, 2023 07:59
ballerina-tests/tests/test_services.bal Outdated Show resolved Hide resolved
ballerina/context.bal Outdated Show resolved Hide resolved
ballerina/engine_utils.bal Outdated Show resolved Hide resolved
docs/spec/spec.md Outdated Show resolved Hide resolved
docs/spec/spec.md Outdated Show resolved Hide resolved
docs/spec/spec.md Outdated Show resolved Hide resolved
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@ThisaruGuruge ThisaruGuruge merged commit 05e981e into ballerina-platform:master Aug 4, 2023
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.

Proposal: Introduce DataLoader for Ballerina GraphQL
2 participants