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
When calling FhirJsonParser.Parse(JsonTextReader) with a JSON resource where "resourceType": "", the exception message that is returned is type (at Cannot locate type information for type '').
To Reproduce
Create a JsonTextReader object from the JSON-formatted request body of a POST request missing the resourceType value.
Call FhirJsonParser.Parse(JsonTextReader)
Observe that the returned exception has an incorrect message.
Expected behavior
The exception message explains that resourceType is missing.
Describe the bug
When calling
FhirJsonParser.Parse(JsonTextReader)
with a JSON resource where"resourceType": ""
, the exception message that is returned istype (at Cannot locate type information for type '')
.To Reproduce
JsonTextReader
object from the JSON-formatted request body of a POST request missing theresourceType
value.FhirJsonParser.Parse(JsonTextReader)
Expected behavior
The exception message explains that
resourceType
is missing.Related issues
#876 and PR 957
The text was updated successfully, but these errors were encountered: