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
We are working with a large schema that has deeply interconnected models and are using GraphQL Transformer v1. We have encountered the following issue:
DataStore does not support 1 to 1 connection with both sides of connection as optional field: Debit.invoice
We have removed this specific connection (Debit.invoice), but the issue seems to affect all other connections as well.
Interestingly, we do not use DataStore in our project, and Conflict Detection is disabled. We are not sure why this error is still appearing and causing problems.
When not using DataStore in our project, we expect the schema to be processed without any issues related to the unsupported 1-to-1 connection. The error message should not appear, and the remaining connections should function as intended.
Reproduction steps
Use the provided gql schema
Push changes
Code Snippet
// Put your code below this line.
Log output
// Put your logs below this line
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered:
Hi @oe-bayram - if I'm reading this correctly, the error occurs in the GQL Transformer when you compile your Amplify schema, not at runtime. I'm transferring this issue to the team that manages the GQL Transformer library.
Before opening, please confirm:
JavaScript Framework
React
Amplify APIs
GraphQL API
Amplify Categories
auth, storage, function, api
Environment information
Describe the bug
We are working with a large schema that has deeply interconnected models and are using GraphQL Transformer v1. We have encountered the following issue:
DataStore does not support 1 to 1 connection with both sides of connection as optional field: Debit.invoice
We have removed this specific connection (Debit.invoice), but the issue seems to affect all other connections as well.
Interestingly, we do not use DataStore in our project, and Conflict Detection is disabled. We are not sure why this error is still appearing and causing problems.
Expected behavior
When not using DataStore in our project, we expect the schema to be processed without any issues related to the unsupported 1-to-1 connection. The error message should not appear, and the remaining connections should function as intended.
Reproduction steps
Code Snippet
// Put your code below this line.
Log output
aws-exports.js
No response
Manual configuration
No response
Additional configuration
No response
Mobile Device
No response
Mobile Operating System
No response
Mobile Browser
No response
Mobile Browser Version
No response
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: