Open anupama-pathirage opened 1 month ago
@tharindu-nw commented on 2024-10-01:
Ballerina graphql services do not allow user defined return types to have json fields, i.e. we cannot have something like:
public type ModuleResponse record { string id; string summary; json clients; json functions; }
as the return type. In that case we need to define records for
clients
andfunctions
types as well. This is not feasible as the semantic details change with language versions and changes to the Docs API.
@nipunayf cloned issue wso2-enterprise/ballerina-registry#2828 on 2024-10-01: