-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
What browsers are you seeing the problem on?
Chrome
What operating system are you seeing the problem on?
Linux
Current Behavior
Quand on modifie par exemple product.category.name, et qu'on fait product.category.$save(). Le nom n'est pas sauvegardé.
J'ai regardé un peu plus dans l'ORM, quand on modifie le champ d'un objet (object.objectField.field) il n'est pas marqué "isChanged" et comme l'ORM n'envoie que les changements à firestore, le champ n'est pas sauvegardé.
Pour info, si "objectField" est un array, le champ est bien sauvegardé (par ex: product.variants[0].name)
Expected Behavior
si on modifie un champs object.objectField.field, le champ doit être sauvegardé.
Steps To Reproduce
Sur la PR https://github.com/track2max/application/pull/352
Modifier un produit
Changer le commentaire
Sauvegarder
Recharger la page
Modfier le même produit, le commentaire a disparu
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels