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
The problem is when generating types for inputs, especially for nested fields, you have to define the the reverse relation.
mutation {
create_ourlivraison(input:
{
mouvements: [
{
wilaya:12,
operation_type:CHARGEMENT
# livraison:"1" This field should not berequired, although the create function doesn't take in consideration
}
],
}){
ok
}
}
So as you can see, The input object type force me to define the reverse foreign key 'livraison', although the result of the creation is correct, whatever value I put in 'livraison'.
The text was updated successfully, but these errors were encountered:
Hello,
I have the following code
The problem is when generating types for inputs, especially for nested fields, you have to define the the reverse relation.
So as you can see, The input object type force me to define the reverse foreign key 'livraison', although the result of the creation is correct, whatever value I put in 'livraison'.
The text was updated successfully, but these errors were encountered: