Robson Teixeira

Results 7 comments of Robson Teixeira

Hello @Jordan-Nelson , Schema: ``` type Safra @model @auth(rules: [{allow: public}]) { id: ID! data_plantio: AWSDate finalizada: Boolean dataFinalizacao: AWSDate talhaoID: ID! @index(name: "byTalhao") subdivisaoID: ID @index(name: "bySubdivisao") propriedadecultivoID: ID!...

I did some tests and managed to run the project. Apparently the error occurs when "subdivisaoID" in "Safra" is null, working correctly when this field is filled. However, this field...

@Jordan-Nelson, These are the models: type Talhao @model @auth(rules: [{allow: public}]) { id: ID! nome: String propriedadeID: ID! @index(name: "byPropriedade") Subdivisaos: [Subdivisao] @hasMany(indexName: "byTalhao", fields: ["id"]) Safras: [Safra] @hasMany(indexName: "byTalhao",...

@Jordan-Nelson, Sorry for the delay. The error occurs in both android and iOS.

@Jordan-Nelson We ran some tests and the error did not actually occur on iOS. We probably confused some mistake we made with this inavlid primary key error. So at the...

@Jordan-Nelson I don't know if it's related, but we have an error in another table that only occurs on iOS, apparently also referring to null optional fields. `amplify_datastore/FlutterSerializedModel.swift:233: Fatal error:...