Hello,
My issue is more a question than a bug. I want to extend some behaviors of this gem and I stumbled into the implementation of the conversion of the client response body to JSON and I would like to understand this part line 18:
klass = Module.const_get("FHIR::#{resource_type}")
Why not pass to the #from_json method the klass objects from the callers and eventually fallback on retrieving it from the resource_type?
Thanks in advance.
Hello,
My issue is more a question than a bug. I want to extend some behaviors of this gem and I stumbled into the implementation of the conversion of the client response body to JSON and I would like to understand this part line 18:
Why not pass to the
#from_jsonmethod theklassobjects from the callers and eventually fallback on retrieving it from the resource_type?Thanks in advance.