Skip to content

API Mesh Request Chaining Sample#10

Open
GabrielRanghetti wants to merge 6 commits intoadobe:mainfrom
BlueAcornInc:api-mesh-request-chaining-sample
Open

API Mesh Request Chaining Sample#10
GabrielRanghetti wants to merge 6 commits intoadobe:mainfrom
BlueAcornInc:api-mesh-request-chaining-sample

Conversation

@GabrielRanghetti
Copy link
Copy Markdown
Collaborator

Added a new API Mesh Request Chaining example that creates a new guest empty cart and adds a product to it.

Description

I added an example for API Mesh Request Chaining which demonstrate how to call multiple API calls with a single request. This example shows how to create an empty cart and add a product to it with a single GraphQL mutation.

Related Issue

None

Motivation and Context

Accelerates onboarding to API Mesh Request Chaining and improves developer experience.

How Has This Been Tested?

Tested running the newly created GraphQL mutation and checking if created the cart and added the product.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@GabrielRanghetti GabrielRanghetti changed the title Api mesh request chaining sample API Mesh Request Chaining Sample May 29, 2024
@revanth0212
Copy link
Copy Markdown
Collaborator

Hello @GabrielRanghetti

Thank you for submitting this PR.

We have recently added a new example that demonstrates chain mutation which is very close to what you have here. Can you please take a look at the sample? I believe they are related. Please correct me if I am wrong.

Also, it would be great if you can just have the mesh config, related files, readme and examples in the folder.

@revanth0212
Copy link
Copy Markdown
Collaborator

Hello @GabrielRanghetti

Any update on my comments above?

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.

2 participants