JonasStjerne / IoT

Full Stack Solution for making everyday appliances smart
0 stars 1 forks source link

Serialization for DTO's is bricked #22

Open JonasStjerne opened 1 year ago

JonasStjerne commented 1 year ago

The incoming DTO request is not handled correctly when receiving a request on the hub/register endpoint. When the DTO object is handle by the interceptor and reach the controller it is empty. If one sets the IsNotEmtpy() on the entity, it will be handled correctly. But this should not be needed as all fields should be required by default. In the the DTO for register PickType.