We are mapping multiple Schemas to a single Entity and furthermore we are using the same entity view. Therefore, we would like to know the type of the entity (rootElement schema) in the entity view, is it possible? We have implemented a work around adding an extrafield in our components, but we're wondering if this is already done by DXA.
For example, following the documentation example, how is possible to know if we have an article or an event, if both are mapped to the Teaser class.