aws-amplify / amplify-backend

Home to all tools related to Amplify's code-first DX (Gen 2) for building fullstack apps on AWS
Apache License 2.0
166 stars 55 forks source link

Handle schema errors #2036

Closed sobolk closed 1 week ago

sobolk commented 1 week ago

Problem

Invalid and empty schema errors indicate invalid inputs. I.e. user error.

Changes

Map these errors.

Validation

Added test.

Checklist

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

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: c21b27dbba1ad2584e2b621ef4c437bbb98252e3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------------------- | ----- | | @aws-amplify/schema-generator | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR