Replies: 1 comment
-
Okay i suppose this is related to #550 so i will close this for now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Setup
So I have a pretty basic set up right now: I have a
Community
class and aGetCommunityDto
. I am trying to map an object of typeCommunity
to an object of typeGetCommunityDto
before returning it from a controller. I created the mappings in theCommunityProfile
and i load the profile in the Community Module.Community
GetCommunityDto
Community Profile
Controller Method
Problem
With this set up the mapper returns an empty object and i am not sure why. If i explicitly tell the mapper what to do in the profile:
eg:
the mapper returns me an object with an id. This is not the expected behaviour as I understand. Shouldnt the mapper be able to automatically figure out that id belongs to id?
Beta Was this translation helpful? Give feedback.
All reactions