AppSync
この記事は? 経緯 前提知識 カスタムリゾルバーとは AWS Amplifyにおけるカスタムリゾルバーの追加方法 カスタムリゾルバを試す 1. resolversフォルダの確認 2. resolvers フォルダ以下にVTLを置く 3. amplify push を実行 4. 実行 終わりに この記事は? A…
公式ドキュメントで言うとこの辺の話。 https://aws-amplify.github.io/docs/cli/graphql#searchable めちゃくちゃ簡単に出来る。 今回は日本語名と英語名を持つUserテーブル@DynamoDB に対し、「田中」でも「tanaka」でも検索出来るOR検索を作ってみる。 sc…
GraphQLのスキーマを書き換えて amplify push した時のエラー Cannot update GSI's properties other than Provisioned Throughput. You can create a new GSI with a different name. @connection のカラム名を変えたら出た。 Reason: Resource update canc…
前回の記事はこれ。 macha-dev.hatenablog.com 今回は以下のリファレンスに従って amplify add api を試す。 https://aws-amplify.github.io/docs/cli/graphql Schema ファイルの作成 src/graphql/schema/schema.gql type Blog @model { id: ID! name: Strin…