Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Generated GraphQL schema contains @connection #353

Open
OskarD opened this issue Aug 14, 2022 · 1 comment
Open

Generated GraphQL schema contains @connection #353

OskarD opened this issue Aug 14, 2022 · 1 comment

Comments

@OskarD
Copy link

OskarD commented Aug 14, 2022

Describe the bug
The generated type VodAsset in schema.graphql contains an unsupported annotation: @connection, triggering this error:

Failed compiling GraphQL schema:
Your GraphQL Schema is using "@connection" directive 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.

To Reproduce

% amplify add video
? Select from one of the below mentioned services: Video-On-Demand
? Provide a friendly name for your resource to be used as a label for this category in the project: videoOnDemand
? Select a system-provided encoding template, specify an already-created template name:  System Encoding Template With Accelerated Transcoding (Apple HLS @
1080p30)
? Do you want to get notifications on the video processing job? Yes
? Do you want a custom function executed for notifications? Yes
? Is this a production enviroment? No
? Do you want Amplify to create a new GraphQL API to manage your videos? (Beta) Yes
Using jikoo to manage API
? Define your permission schema Admins can only upload videos
? Do you want to override your GraphQL schema? No
? Do you want to edit your newly created model? No
Failed compiling GraphQL schema:
Your GraphQL Schema is using "@connection" directive 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.
? Correct the errors in schema.graphql and press Enter to re-compile.

Desktop (please complete the following information):

  • OS: iOS
  • Version: Latest
@gvasquez95
Copy link

I had the same issue here!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants