Skip to content

Conversation

@sobolk
Copy link
Contributor

@sobolk sobolk commented Sep 20, 2024

Problem

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

Changes

Map these errors.

Validation

Added test.

Checklist

  • If this PR includes a functional change to the runtime behavior of the code, I have added or updated automated test coverage for this change.
  • If this PR requires a change to the Project Architecture README, I have included that update in this PR.
  • If this PR requires a docs update, I have linked to that docs PR above.
  • If this PR modifies E2E tests, makes changes to resource provisioning, or makes SDK calls, I have run the PR checks with the run-e2e label set.

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

@sobolk sobolk requested a review from a team as a code owner September 20, 2024 21:10
@changeset-bot
Copy link

changeset-bot bot commented Sep 20, 2024

🦋 Changeset detected

Latest commit: c21b27d

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

@sobolk sobolk merged commit f6b1943 into main Sep 20, 2024
38 checks passed
@sobolk sobolk deleted the schema-errors branch September 20, 2024 21:39
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

Successfully merging this pull request may close these issues.

3 participants