public type StatementInput record {|
string entityNo;
account:Period[] & readonly periods;
|};
isolated resource function get statement(graphql:Context ctx, StatementInput[] input) returns Statement[]|error {
If I send a request to this gql service by separating document and variables, the service exits with the following error trace.
error: error while mapping 'periodStartDate': {ballerina/lang.map}InvalidUpdate
What happened?
I defined a graphql input with a read-only field.
If I send a request to this gql service by separating document and variables, the service exits with the following error trace.