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 attempting to access the members of a memberType that is defined in the same package, using getTypeFromSymbol on the type information, the members of the memberType cannot be accessed.
Steps to Reproduce
1. Define a Record and the function
import ballerinax/health.fhir.r4.uscore501;
public function mapPatientToUsCore(Patient patient) returns uscore501:USCorePatientProfile => {
identifier: [],
gender: "unknown",
name: []
};
public type Patient record {
string patientType;
string patientId;
};
2. Use function getTypeFromSymbol for the USCorePatientProfile
3. Access Members of the Extension Type
When attempting to retrieve members of the Extension type using getTypeFromSymbol, the members cannot be accessed.
The type info (USCorePatientProfile.USCorePatientProfileLink.Reference.Extension) returned appears as:
Description
When attempting to access the
members
of amemberType
that is defined in the same package, usinggetTypeFromSymbol
on the type information, the members of the memberType cannot be accessed.Steps to Reproduce
1. Define a Record and the function
2. Use function
getTypeFromSymbol
for theUSCorePatientProfile
3. Access Members of the Extension Type
When attempting to retrieve members of the Extension type using getTypeFromSymbol, the members cannot be accessed.
The type info (
USCorePatientProfile.USCorePatientProfileLink.Reference.Extension
) returned appears as:Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: