[Embeddables] Extra type safety #52887
Labels
Feature:Embedding
Embedding content via iFrame
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
It'd be great to get the input and output shapes typed correctly based on the type of embeddable so we get more type safety and don't have to cast. Especially when
EmbeddableFactoryRenderer
is introduced, this lacks type safety and input shape can be mismatched to the type passed in. I think we can do something similar to how the data search services does this with the request and response shapes mapped by search type.The text was updated successfully, but these errors were encountered: