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
If you have an OperationAttribute on your classes, it assumes that any entities and complex types are already registered. So if your Operations take non-Entities as inputs/outputs, you have to totally take over model generation for it to work.
Either RestierModelBuilder or RestierOperationModelBuilder should be adjusted to register unrecognized parameters or return types as Complex Types.
The text was updated successfully, but these errors were encountered:
robertmclaws
changed the title
OperationModelBuilder does not register complex types
[2.0] OperationModelBuilder does not register complex types
Dec 5, 2023
If you have an OperationAttribute on your classes, it assumes that any entities and complex types are already registered. So if your Operations take non-Entities as inputs/outputs, you have to totally take over model generation for it to work.
Either RestierModelBuilder or RestierOperationModelBuilder should be adjusted to register unrecognized parameters or return types as Complex Types.
The text was updated successfully, but these errors were encountered: