Skip to content

Tutorial book example needs graphql migration #827

@tcutts

Description

@tcutts

Before opening, please confirm:

App Id

Not applicable - documentation bug

Region

us-east-1

Environment name

Not applicable - documentation bug

Figma File Version (if applicable)

No response

Amplify CLI Version

10.7.3

If applicable, what version of Node.js are you using?

14.21.2

What operating system are you using?

Mac

Browser type?

Chrome

Describe the bug

Author/book tutorial example is outdated and does not pull correctly

Expected behavior

Since I'm new to amplify I'm not sure what I'd expect to happen, but I'm not expecting amplify pull errors.

Reproduction steps

  1. Start from https://docs.amplify.aws/console/data/data-model/

  2. Click on Clone in Sandbox

  3. Click on Next: Test locally in your app

  4. Run the commands shown. The amplify pull command fails with:

SchemaValidationError: Your GraphQL Schema is using "@key", "@connection" directives from an older version of the GraphQL Transformer. Visit https://docs.amplify.aws/cli/migration/transformer-migration/ to learn how to migrate your GraphQL schema.
🛑 Failed to pull sandbox app.

Project Identifier

No response

Additional information

amplify tried to send a diagnose report but this failed

Session Identifier: 105d078d-f4ee-4237-be05-5ef41402dd49

✅ Report saved: /var/folders/l7/vbmzyv3s0ql30vgnv4ppv60c0000gr/T/myapp/report-1676531173805.zip

⠋ Sending zip
File at path: '/Users/tjrc/git/myapp/amplify/backend/amplify-meta.json' does not exist
✖ Sending zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue which has been identified as a bugsandboxIssues related to sandbox appsstudio-backendAn issue that needs to be tracked by Studio Backend team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions