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
Sorry, should have been more specific about the error. I was talking about the warning about the raw parameterized type.
Since RepresentationModel. only exist with parameterized types. Wanted to know how we should be calling it when we don't have a type, such as creating a Root Controller. EntityModel has somewhat the same issue. If you are trying to do something with generics. Multiple DTOs for the same class as an example.
Getting the warning feels like I am doing something wrong. I don't see how to get around it.
In this example I can't get this to work without an error
RepresentationModel
Needs aT
.RepresentationModel model = new RepresentationModel();
What is the right way to do this without a
T
in the context of a Root Controller?The text was updated successfully, but these errors were encountered: