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

Amplify Android API Relational Models #6020

Merged
merged 15 commits into from
Oct 17, 2023
Merged

Conversation

tylerjroach
Copy link
Member

@tylerjroach tylerjroach commented Oct 16, 2023

Description of changes:

Added new page under GraphQL API for Android showing support for Relational models with Lazy Loading and Custom Selection Set usage

Related GitHub issue #, if available:

Instructions

If this PR should not be merged upon approval for any reason, please submit as a DRAFT

Which product(s) are affected by this PR (if applicable)?

  • amplify-cli
  • amplify-ui
  • amplify-studio
  • amplify-hosting
  • amplify-libraries

Which platform(s) are affected by this PR (if applicable)?

  • JS
  • iOS
  • Android
  • Flutter
  • React Native

Please add the product(s)/platform(s) affected to the PR title

Checks

  • Does this PR conform to the styleguide?

  • Does this PR include filetypes other than markdown or images? Please add or update unit tests accordingly.

  • Are any files being deleted with this PR? If so, have the needed redirects been created?

  • Are all links in MDX files using the MDX link syntax rather than HTML link syntax?

    ref: MDX: [link](https://link.com)
    HTML: <a href="https://link.com">link</a>

When this PR is ready to merge, please check the box below

  • Ready to merge

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions
Copy link

Amplify Docs is moving away from the use of Fragments. Please instead use InlineFilter. See our README for more information.

@mergify
Copy link

mergify bot commented Oct 16, 2023

⚠️ The sha of the head commit of this PR conflicts with #5956. Mergify cannot evaluate rules on this PR. ⚠️

renebrandel
renebrandel previously approved these changes Oct 17, 2023
atierian
atierian previously approved these changes Oct 17, 2023
Copy link
Member

@atierian atierian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. We should add a section outlining steps to take for customers with existing schemas. That can be a follow up / may be better suited as a guide or blog.

@tylerjroach tylerjroach dismissed stale reviews from atierian and renebrandel via b170fb1 October 17, 2023 18:48
@tylerjroach tylerjroach marked this pull request as ready for review October 17, 2023 19:28
@tylerjroach tylerjroach requested a review from a team as a code owner October 17, 2023 19:28
@timngyn timngyn merged commit 558c85b into main Oct 17, 2023
@timngyn timngyn deleted the feat.api-relational-models-android branch October 17, 2023 19:36
hbuchel added a commit that referenced this pull request Oct 19, 2023
* Copyedit of Auth guide for sign-in, sign-up, and sign-out

* add pr version of link checker script

* Updated authenticator callout for react native

* convert server to use serve instead of next-start

* add static server for testing

* update broken link for pr script

* update link checker script, add dev mode and pr link checker

* update link script

* remove unused code

* add axios timeout

* remove unused command

* remove choose filter filtering

* update links

* correct directory.mjs entry add react-native lib-v1 base page

* Update overview.mdx

* remove permissions

* update pathmap default

* GH action to check bundlesize of PR (#5986)

* add gh workflow to check bundle size of selected pages

* pinning versions

* remove unnecessary package

* remove errant script from package.json

* consolidating functions

* change logic for check

* fix issues

* fix main branch ref

---------

Co-authored-by: katiegoines <katiegoines@gmail.com>

* adding needed index files

* Update csp (#5987)

* Remove deprecated prefetch-src header

* Update alpha CSP to remove warnings during local testing

* update index script

* update write script

* add missing index files

* revert ssg revert

* add static generation to new js docs

* add static paths to page

* remove unlinked and unbuilt pages

* adding highlight for CDK support on main page

* update pages to match filters and generate the same index files as main

* Added What's New Banner

* addressed based on Janaina's feedback

* Update data-modeling.mdx

* update table in fragment to resolve hydration issue

* render contribute getting started text in spans

* chore(flutter): remove null safety references (#5998)

Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com>

* Update versions.ts

Updating the android library version

* Update-project-setup (#6007)

* updated project set up

* update framework info

* updated project set up

* update project set up

* Update src/pages/lib-v1/project-setup/create-application/q/platform/[platform].mdx

added period

* Update src/pages/lib-v1/project-setup/create-application/q/platform/[platform].mdx

Co-authored-by: Ashwin Kumar <ashwinkumar2468@gmail.com>

---------

Co-authored-by: Chris Womack <67726635+cwomack@users.noreply.github.com>
Co-authored-by: Ashwin Kumar <ashwinkumar2468@gmail.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>

* chore(deps): bump @aws-amplify/amplify-cli-core from 4.2.7 to 4.2.10 (#6011)

Bumps [@aws-amplify/amplify-cli-core](https://github.com/aws-amplify/amplify-cli/tree/HEAD/packages/amplify-cli-core) from 4.2.7 to 4.2.10.
- [Release notes](https://github.com/aws-amplify/amplify-cli/releases)
- [Changelog](https://github.com/aws-amplify/amplify-cli/blob/@aws-amplify/amplify-cli-core@4.2.10/packages/amplify-cli-core/CHANGELOG.md)
- [Commits](https://github.com/aws-amplify/amplify-cli/commits/@aws-amplify/amplify-cli-core@4.2.10/packages/amplify-cli-core)

---
updated-dependencies:
- dependency-name: "@aws-amplify/amplify-cli-core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>

* Add custom analytics event for the "What's New" banner (#6006)

* Add a custom adobe analytics event for the WhatsNewBanner component

* Add comment for function

* update home page to update page context

* fix: updating @babel/traverse (#6025)

* update @babel/core and @babel/traverse

* updated @babel/traverse

---------

Co-authored-by: katiegoines <katiegoines@gmail.com>

* update base lib, sdk, and guides pages

* update next/previous styles

* Amplify Android API Relational Models (#6020)

* feat(api): iOS Android API GraphQL relational models pages

* update schema

* Add callout, update many-to-many schema

* update callout to point to migration guide for existing developers

* add new sections for query and css

* Updates to Android API Relationship page

* Defragmented pages and reordered content.

* Remove iOS docs for now

* Remove iOS docs for now

* Remove fragments

* Add delete code snippet

* Correct description of query

---------

Co-authored-by: Michael Law <1365977+lawmicha@users.noreply.github.com>
Co-authored-by: Rene Brandel <renbran@amazon.com>

* Update CODEOWNERS to exclude documentation team from all files (#6030)

* chore: update auth docs now that cdk tokens are supported for adminRole and identityPoolId

* Update src/pages/cli/graphql/authorization-rules.mdx

* fix: update example naming

* Revert "Update CODEOWNERS to exclude documentation team from all files (#6030)" (#6031)

* update new page to include ssg required exports

* update sample amplifyconfiguration json file (#5874)

Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>

* add choose your filter page

* filter out all but android (#6036)

Co-authored-by: katiegoines <katiegoines@gmail.com>
Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>

* Update Amplify Android Version

* revert InternalLink back to next-release/main, needs to be refactored out

* fix versions export

* Delete some tests for now from components that are going to be removed

* Delete some tests for now from components that are going to be removed

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Jim Eagan <jeeagan@amazon.com>
Co-authored-by: Jim Eagan <84857865+hibler13@users.noreply.github.com>
Co-authored-by: Jacob Logan <lognjc@amazon.com>
Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com>
Co-authored-by: jacoblogan <jacob.maiola.logan@gmail.com>
Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>
Co-authored-by: katiegoines <katiegoines@gmail.com>
Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com>
Co-authored-by: Rene Brandel <renbran@amazon.com>
Co-authored-by: Dustin Noyes <dustin.noyes.dev@gmail.com>
Co-authored-by: gpanshu <91897496+gpanshu@users.noreply.github.com>
Co-authored-by: Abdallah Shaban <awshaban@amazon.com>
Co-authored-by: Chris Womack <67726635+cwomack@users.noreply.github.com>
Co-authored-by: Ashwin Kumar <ashwinkumar2468@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Roach <tjroach@amazon.com>
Co-authored-by: Michael Law <1365977+lawmicha@users.noreply.github.com>
Co-authored-by: Al Harris <alharris@amazon.com>
Co-authored-by: Tuan Pham <103537251+phantumcode@users.noreply.github.com>
hbuchel added a commit that referenced this pull request Nov 6, 2023
* Update common content from Flutter revisions

* Update based on API ref

* Updating directory for new page

* Adding new page for managing user sessions

* Updating the directory with new page title

* First half of updates to social sign-in

* Second half update for js content

* Added React Native content

* Update CLI diff for js and react-native

* dan changes part1

* Updating menu for manage user profiles

* Updates to the Manage User Profile

* Updating directory for password mgmt

* Updates for password management

* Updated wording and small edits

* docs (js): Copyedited Set up Amplify Auth guide

* additional clarifications

* Copyedit of Auth guide for sign-in, sign-up, and sign-out

* additional clarifications

* additional changes

* additional changes

* add pr version of link checker script

* Updated authenticator callout for react native

* Updating directory title

* Removed comment

* Updates to delete user guide

* Minor update to note testing

* Removed comment markers

* convert server to use serve instead of next-start

* add static server for testing

* update broken link for pr script

* first round of changes

* update link checker script, add dev mode and pr link checker

* update link script

* remove unused code

* final changes

* latest changes

* initial changes

* add axios timeout

* remove unused command

* final changes

* Updating directory name

* final changes

* Staging for auth events content

* remove choose filter filtering

* update links

* correct directory.mjs entry add react-native lib-v1 base page

* Update overview.mdx

* remove permissions

* update pathmap default

* GH action to check bundlesize of PR (#5986)

* add gh workflow to check bundle size of selected pages

* pinning versions

* remove unnecessary package

* remove errant script from package.json

* consolidating functions

* change logic for check

* fix issues

* fix main branch ref

---------

Co-authored-by: katiegoines <katiegoines@gmail.com>

* adding needed index files

* Update csp (#5987)

* Remove deprecated prefetch-src header

* Update alpha CSP to remove warnings during local testing

* update index script

* update write script

* add missing index files

* final RN changes

* revert ssg revert

* add static generation to new js docs

* add static paths to page

* remove unlinked and unbuilt pages

* adding highlight for CDK support on main page

* update pages to match filters and generate the same index files as main

* Added What's New Banner

* addressed based on Janaina's feedback

* Update data-modeling.mdx

* update table in fragment to resolve hydration issue

* render contribute getting started text in spans

* Removed inline comment and minor edits

* chore(flutter): remove null safety references (#5998)

Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com>

* Removed mkdwn comments and minor edits and links

* Updated directory

* Update versions.ts

Updating the android library version

* Updates for manage user profiles per comments

* Updated password mgmt per comments

* Removed mrkdwn comment and minor edits

* Update-project-setup (#6007)

* updated project set up

* update framework info

* updated project set up

* update project set up

* Update src/pages/lib-v1/project-setup/create-application/q/platform/[platform].mdx

added period

* Update src/pages/lib-v1/project-setup/create-application/q/platform/[platform].mdx

Co-authored-by: Ashwin Kumar <ashwinkumar2468@gmail.com>

---------

Co-authored-by: Chris Womack <67726635+cwomack@users.noreply.github.com>
Co-authored-by: Ashwin Kumar <ashwinkumar2468@gmail.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>

* chore(deps): bump @aws-amplify/amplify-cli-core from 4.2.7 to 4.2.10 (#6011)

Bumps [@aws-amplify/amplify-cli-core](https://github.com/aws-amplify/amplify-cli/tree/HEAD/packages/amplify-cli-core) from 4.2.7 to 4.2.10.
- [Release notes](https://github.com/aws-amplify/amplify-cli/releases)
- [Changelog](https://github.com/aws-amplify/amplify-cli/blob/@aws-amplify/amplify-cli-core@4.2.10/packages/amplify-cli-core/CHANGELOG.md)
- [Commits](https://github.com/aws-amplify/amplify-cli/commits/@aws-amplify/amplify-cli-core@4.2.10/packages/amplify-cli-core)

---
updated-dependencies:
- dependency-name: "@aws-amplify/amplify-cli-core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>

* Removed mkdwn comments and small edits

* Add custom analytics event for the "What's New" banner (#6006)

* Add a custom adobe analytics event for the WhatsNewBanner component

* Add comment for function

* Updated with react-native links

* update home page to update page context

* Removed mkdwn comment and minor edit

* Update directory

* Updating directory

* Fixing directory

* Fix directory update

* Update directory

* fix: updating @babel/traverse (#6025)

* update @babel/core and @babel/traverse

* updated @babel/traverse

---------

Co-authored-by: katiegoines <katiegoines@gmail.com>

* update base lib, sdk, and guides pages

* final changes

* update next/previous styles

* Removed mkdwn and minor edits

* Amplify Android API Relational Models (#6020)

* feat(api): iOS Android API GraphQL relational models pages

* update schema

* Add callout, update many-to-many schema

* update callout to point to migration guide for existing developers

* add new sections for query and css

* Updates to Android API Relationship page

* Defragmented pages and reordered content.

* Remove iOS docs for now

* Remove iOS docs for now

* Remove fragments

* Add delete code snippet

* Correct description of query

---------

Co-authored-by: Michael Law <1365977+lawmicha@users.noreply.github.com>
Co-authored-by: Rene Brandel <renbran@amazon.com>

* Update CODEOWNERS to exclude documentation team from all files (#6030)

* chore: update auth docs now that cdk tokens are supported for adminRole and identityPoolId

* Update src/pages/cli/graphql/authorization-rules.mdx

* fix: update example naming

* Revert "Update CODEOWNERS to exclude documentation team from all files (#6030)" (#6031)

* update new page to include ssg required exports

* update sample amplifyconfiguration json file (#5874)

Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>

* add choose your filter page

* filter out all but android (#6036)

Co-authored-by: katiegoines <katiegoines@gmail.com>
Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>

* Update Amplify Android Version

* fix: Fix CDK types in overview

Fix CDK types in the overview. Previous version referred to non-existent types.

* chore(Auth): add singedIn and signedOut Hub events in v6 (#6048)

* chore: add SignIn and SignOut events

* chore: update 'guest' to `guest` (#5981)

Co-authored-by: Jim Blanchard <jim.l.blanchard@gmail.com>
Co-authored-by: AllanZhengYP <zheallan@amazon.com>

* update algolia index function to remove INTEGRATION_FILTER_OPTIONS from meta object before parsing

* Update src/pages/lib/auth/manageusers/q/platform/[platform].mdx

Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com>

* Update src/pages/lib/auth/manageusers/q/platform/[platform].mdx

Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com>

* Update src/pages/lib/auth/password_management/q/platform/[platform].mdx

Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com>

* Update src/pages/lib/auth/password_management/q/platform/[platform].mdx

Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com>

* Update src/pages/lib/auth/manageusers/q/platform/[platform].mdx

Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com>

* Apply suggestions for password title update

Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com>

* Update recap based on review

Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com>

* Update meta content in headers

* Change instance of my to your

* Adding 4 guides and updating directory

* Updating directory entry for password_management

* Updating from feedback and adding react-native

* Adding index page for new page

* Updating per feedback

* update the choose a filter component to try and pull filters from directory and prefer those instead of the passed in values

* Punctuation edits

* don't parse BlockSwitchers for headers

* Removing comments, minor edits, added react-native

* Updating header and feedback

* Remove SSR link

* formatting

* Set isExternal to true for whats new banner (#6077)

* add debugging line to ampliy.yml

* Update next config (#6095)

* Use 'output' config for exporting

* Update maxWorkers to jest run

* Update next to 13.5.6

* applied "connect" changes

* Updated per feedback

* Release Amplify Android 2.14.2, also reference AppSync SDK v3.4.0 which fixed a bug (#6096)

Co-authored-by: Thomas Leing <leint@amazon.com>

* Update src/pages/lib/auth/manage-session/q/platform/[platform].mdx

Update the `clear()` example to include use of `this` reference.

* Update src/pages/lib/auth/mfa/q/platform/[platform].mdx

nit

* Adding redirects tracking file and update README (#6082)

* add redirects tracking file and update README

* Update Readme.md

---------

Co-authored-by: katiegoines <katiegoines@gmail.com>
Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com>

* add standalone how amplify works page (#6051)

* add standalone how amplify works page

* merged in main

* merging jims changes

* update content

* refresh yarn

* add checkmark png

* table changes

* add addtl space where needed

* remove directory.json

---------

Co-authored-by: katiegoines <katiegoines@gmail.com>

* feat: remove docs team approval for spelling changes using codeowners

* chore: update readme for cspell check

* Revert "Chore: Update codeowners file to exclude documentation team for approvals on cspell json file changes"

* chore: update codeowner for console

* fix(flutter/analytics): temporarily remove broken url (#6177)

* Update how-amplify-works.mdx

* Update how-amplify-works.mdx

* remove files removed in initial refactor, fix a merge conflict

* remove stray index, [platform].index pages

* merge InternalLink changes from next-release/main to not reference Page component

* Clean up linting errors and string/booleans in next.config

* fix prettier version

* fix missing json5 dependency

* remove unused script in package.json

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Heather Pundt <119376175+heatheramz@users.noreply.github.com>
Co-authored-by: Dan Kiuna <dkkiuna11@gmail.com>
Co-authored-by: Jim Eagan <jeeagan@amazon.com>
Co-authored-by: Jim Eagan <84857865+hibler13@users.noreply.github.com>
Co-authored-by: Dan Kiuna <dkkiuna@amazon.com>
Co-authored-by: Jacob Logan <lognjc@amazon.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>
Co-authored-by: jacoblogan <jacob.maiola.logan@gmail.com>
Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>
Co-authored-by: katiegoines <katiegoines@gmail.com>
Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com>
Co-authored-by: Rene Brandel <renbran@amazon.com>
Co-authored-by: Dustin Noyes <dustin.noyes.dev@gmail.com>
Co-authored-by: gpanshu <91897496+gpanshu@users.noreply.github.com>
Co-authored-by: Abdallah Shaban <awshaban@amazon.com>
Co-authored-by: Chris Womack <67726635+cwomack@users.noreply.github.com>
Co-authored-by: Ashwin Kumar <ashwinkumar2468@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyler Roach <tjroach@amazon.com>
Co-authored-by: Michael Law <1365977+lawmicha@users.noreply.github.com>
Co-authored-by: Al Harris <alharris@amazon.com>
Co-authored-by: Tuan Pham <103537251+phantumcode@users.noreply.github.com>
Co-authored-by: Tim Schmelter <schmelte@amazon.com>
Co-authored-by: Venkata Ramyasri Kota <34170013+kvramyasri7@users.noreply.github.com>
Co-authored-by: Jim Blanchard <jim.l.blanchard@gmail.com>
Co-authored-by: AllanZhengYP <zheallan@amazon.com>
Co-authored-by: Thomas Leing <bluezebragames@gmail.com>
Co-authored-by: Thomas Leing <leint@amazon.com>
Co-authored-by: israx <70438514+israx@users.noreply.github.com>
Co-authored-by: sowmyadev-kota <124720934+sowmyadev-kota@users.noreply.github.com>
Co-authored-by: Sowmya Kota <kvsowmyasri21@gmail.com>
Co-authored-by: Scott Rees <6165315+reesscot@users.noreply.github.com>
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.

6 participants