Repository navigation
fix(amplify-libraries, Android): use Kotlin instead of TypeScript in secondary index client examples - #8631
Merged
VarshithaPamisetty merged 1 commit intoOct 23, 2026
Conversation
VarshithaPamisetty
marked this pull request as ready for review
October 19, 2026 11:39
…ex client examples
VarshithaPamisetty
force-pushed
the
fix/android-secondary-index-kotlin-examples
branch
from
October 19, 2026 13:08
2ad74c0 to
0db2a06
Compare
cadivus
approved these changes
Oct 19, 2026
VarshithaPamisetty
enabled auto-merge (squash)
October 19, 2026 14:28
sharonyajain
approved these changes
Oct 23, 2026
VarshithaPamisetty
deleted the
fix/android-secondary-index-kotlin-examples
branch
October 23, 2026 12:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes:
The Android secondary index page served TypeScript client code (
generateClient,client.models.*) becauseandroidwas grouped into the JSInlineFilter. Replaced the three client-side sections with Kotlin examples usingSimpleGraphQLRequest, sinceModelQuery.listissueslistCustomers(filter:)— a scan, not a GSI query. Backendamplify/data/resource.tsblocks are unchanged.Two smaller fixes on the same page: the three added fences are tagged
kotlinrather thankt, and the shared prose line above "Customize the query field for secondary indexes" no longer names the JS-onlyclient.models.<MODEL_NAME>.listBy..., which rendered to all nine platforms.Checks
yarn buildsucceeds with no errorsRefs #8342