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
I'm also interested in this. Has any progress been made?
I've implemented a mediocre solution with two large downsides:
I didn't make an effort to add multiple signatures to relatedEntity and relatedEntitySelector with the new transformer option. I defined an additional relatedEntityWithTransformer with its matching relatedEntitySelectorWithTransformer. They are typed with an additional type parameter TRANSFORMED_RELATED_ENTITY, some occurrences of RELATED_ENTITY in the type definitions have been replaced with TRANSFORMED_RELATED_ENTITY. Once everything works, it would be much better to have a unique function to call, but I'm not sure what's the best design for this.
It works well for one level of relations, but not for nested relations. I think this has to do with the caching process in relatedEntity's callback, which I probably don't exploit adequately.
I've also tried something similar with childrenEntities.
I'm not happy with my current solutions but I'm of course willing to share them, especially if that helps with the development of a better alternative.
The goal is to have possibility to convert entities on all levels.
The text was updated successfully, but these errors were encountered: