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

Does this plugin works for amplify v4.32.1 ? #3

Open
yaquawa opened this issue Nov 14, 2020 · 1 comment
Open

Does this plugin works for amplify v4.32.1 ? #3

yaquawa opened this issue Nov 14, 2020 · 1 comment

Comments

@yaquawa
Copy link

yaquawa commented Nov 14, 2020

Hi, thanks for the great work!
I'm wondering if this plugin still works for the latest amplify v4.32.1 ?
I know very little about amplify plugin, the doc
https://docs.amplify.aws/cli/plugins/authoring#step-5-install-and-use
says you can install a plugin by

amplify plugin add my-amplify-plugin

is this the right way to install this plugin?

@mjza
Copy link

mjza commented Dec 29, 2020

@yaquawa I found the solution.
Inside the AWS Amplify Console, edit your build settings, and change it like the following:

backend:
  phases:
    build:
      commands:
        - npm i -g graphql-default-value-transformer
        - '# Execute Amplify CLI with the helper script'
        - amplifyPush --simple

I mean before amplifyPush --simple you need to provide the npm i -g graphql-default-value-transformer to install the custom transformer before doing the amplifyPush.

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

No branches or pull requests

2 participants