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
There is still some useful case not supported yet that not permit me to deploy my model. There is some example:
typeA@model
{
id: ID!
}
typeB@model
{
id: ID!objAID: IDobjA: A@connection(fields: ["objAID"])
# InvalidDirectiveError: All fields provided to an @connection must be non-null scalar or enum fields. # Why are we not able to have a check if it's null just return a null object?
}
unionObj = A | BtypeC@model
{
id: ID!objID: ID!obj: Obj!@connection(fields: ["objID"])
# InvalidDirectiveError: Could not find an object type named Obj. # By prefixing the id with the typename we can fetch in the correct table so why not supporting that? # specially because you don't allow us to manage IDs ourself!
}
The text was updated successfully, but these errors were encountered:
The latest version of the CLI now supports nullable connection fields. For your other request about supporting union types, see: aws-amplify/amplify-category-api#450
There is still some useful case not supported yet that not permit me to deploy my model. There is some example:
The text was updated successfully, but these errors were encountered: