You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This schema has been pushed successfully to other environments, I expected the same.
Reproduction steps
I don't know.
Project Identifier
5fb3a1445772fd14883df70013b7a231
Log output
# Put your logs below this line
[amplify-cli-2023-06-03.log](https://github.com/aws-amplify/amplify-cli/files/11638477/amplify-cli-2023-06-03.log)
Additional information
No response
Before submitting, please confirm:
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
I have removed any sensitive information from my code snippets and submission.
The text was updated successfully, but these errors were encountered:
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.20.0
Amplify CLI Version
12.0.0
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no manual changes; attempt at fresh environment creation fails.
Describe the bug
On first push to a new environment (i.e.
amplify env add test
), I get the following error :DataStore does not support 1 to 1 connection with both sides of connection as optional field: ClassroomYearLevel.yearLevel
But the
ClassroomYearLevel.yearLevel
field is marked as mandatory in the graphql schema:Expected behavior
This schema has been pushed successfully to other environments, I expected the same.
Reproduction steps
I don't know.
Project Identifier
5fb3a1445772fd14883df70013b7a231
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: