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
We keep getting questions about nullability when we project the client.
We should document the facts that:
we project a nullable return type for the root of the response, even if the description doesn't say it's nullable. This is so the client can survive change in service behaviour without being refreshed. (e.g. the service starts returning 204)
we project properties on models as nullable. This is to account for services that allow selection/projection via query parameters where the returned payload might omit described properties.
we project request bodies as nullable or not depending on the required property in the description
The text was updated successfully, but these errors were encountered:
We keep getting questions about nullability when we project the client.
We should document the facts that:
The text was updated successfully, but these errors were encountered: