Skip to content

fix(data): add native client examples to connect HTTP datasource page - #8633

Merged
VarshithaPamisetty merged 2 commits into
mainfrom
fix/http-datasource-native-client-examples
Nov 3, 2026
Merged

VarshithaPamisetty merged 2 commits into
mainfrom
fix/http-datasource-native-client-examples

Conversation

@VarshithaPamisetty

Copy link
Copy Markdown
Contributor

Description of changes:

Step 5 of the connect HTTP datasource page served TypeScript client code (client.mutations.addPost, client.queries.getPost, in files titled App.tsx) to all nine platforms, because the section had no InlineFilter. Added Swift, Android, and Flutter sections using raw GraphQL, and scoped the existing TypeScript example to the JS platforms.

Each native section defines a type matching the Post return type, then a BlockSwitcher with the four custom operations, mirroring the structure of the parent custom business logic page. Steps 1 through 4 are unchanged: those snippets define the Gen 2 backend, which is TypeScript on every platform.

Checks

  • yarn build succeeds with no errors
  • Deployed the page's schema and resolvers to a sandbox and ran all twelve documents against the live AppSync endpoint; each is accepted and schema-validated, and the live Post type matches the types shown

Refs #7922

@VarshithaPamisetty VarshithaPamisetty self-assigned this Oct 26, 2026
@VarshithaPamisetty
VarshithaPamisetty marked this pull request as ready for review October 26, 2026 13:34
@VarshithaPamisetty
VarshithaPamisetty requested a review from a team as a code owner October 26, 2026 13:34
soberm
soberm previously approved these changes Oct 27, 2026
@VarshithaPamisetty
VarshithaPamisetty enabled auto-merge (squash) November 3, 2026 13:14
@mergify

mergify Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@VarshithaPamisetty
VarshithaPamisetty merged commit 8f60b3b into main Nov 3, 2026
12 of 13 checks passed
@VarshithaPamisetty
VarshithaPamisetty deleted the fix/http-datasource-native-client-examples branch November 3, 2026 13:24
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.

3 participants