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
The layer defines the Bufferoo class but no mapper. This is because the Domain layer is our central layer, it knows nothing of the layers outside of it so has no need to map data to any other type of model.
Is there a detailed reason why the Domain Has no Mappings?
wouldn't a Bufferoo fetched from an external source need to be mapped to a Bufferoo in the domain?
The text was updated successfully, but these errors were encountered:
That's because Domain is the innermost layer, it shouldn't know anything about external source models.
In only says 'I want to get this thing and I am going to do something with it. I don't care where it comes from, I only care that it's a Bufferoo'.
The Data layer, as the outer one, knows how a Bufferoo looks, so when it gets a model from external source, it's responsible for mapping it to a Bufferoo.
Is there a detailed reason why the Domain Has no Mappings?
wouldn't a Bufferoo fetched from an external source need to be mapped to a Bufferoo in the domain?
The text was updated successfully, but these errors were encountered: