Relax restriction on return value of service resource methods #612
Labels
Area/Lang
Relates to the Ballerina language specification
Type/Improvement
Enhancement to language design
Milestone
Currently service resource methods are required to have a return value that is a subtype of
error?
.This issue removes this restriction in order to support #609. For a simple request-response interchange pattern, we allow the return value of the resource method to be treated as the response.
The text was updated successfully, but these errors were encountered: