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
Currently, TroubleTicket, AnomalieAdresseBase, AnomalieAdresseNewBuilding, AnomalieAdresseUpdate, and AnomalieAdresseUpdateNbLogements all defines the relatedEntity property.
If we want to have polymorphism, this leads to have "cascading validation" more than once for the relatedEntity. This will cause the validation to always fail in any interface generated using codegen.
Je ne comprend pas cette issue, vous enlevez le typage de l'objet dans common pour corriger votre probleme...
alors que RelatedEntity est bien une classe mere je ne comprend pas où est le multi source
This issue is strictly related to before-interop/common#52 and should be resolved together.
Currently, TroubleTicket, AnomalieAdresseBase, AnomalieAdresseNewBuilding, AnomalieAdresseUpdate, and AnomalieAdresseUpdateNbLogements all defines the relatedEntity property.
If we want to have polymorphism, this leads to have "cascading validation" more than once for the relatedEntity. This will cause the validation to always fail in any interface generated using codegen.
Normally, we should have a single source of truth, and this is highlighted in the official best practices:
https://learn.openapis.org/best-practices.html#keep-a-single-source-of-truth
that's why we should remove the definition of relatedEntity from parents and define it only in the "leaves"
The text was updated successfully, but these errors were encountered: