Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facilitate use of application-defined types for input and output of services #560

Closed
jclark opened this issue Jun 30, 2020 · 1 comment
Closed
Assignees
Labels
Area/Lang Relates to the Ballerina language specification Type/Improvement Enhancement to language design

Comments

@jclark
Copy link
Collaborator

jclark commented Jun 30, 2020

We should make it easy for people writing services to write programs that make use of application-defined types. In particular, they should not have to manually map between generic input and output types (such as json or xml) and application-defined types.

This relates to #558 and #329.

@jclark jclark added Type/Improvement Enhancement to language design Area/Lang Relates to the Ballerina language specification labels Jun 30, 2020
@jclark jclark self-assigned this Jun 30, 2020
@jclark jclark changed the title Use application-defined types for input and output of services Facilitate use of application-defined types for input and output of services Jun 30, 2020
@jclark jclark added this to the Swan Lake September preview milestone Aug 6, 2020
@jclark
Copy link
Collaborator Author

jclark commented Sep 26, 2020

At the service object level for output, this is enabled by #606, which drops the requirement that the return value of resource methods is a subtype of error?. At the service object type level, this is dealt with by #609.

@jclark jclark closed this as completed Sep 26, 2020
@jclark jclark removed this from the Swan Lake September preview milestone Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Lang Relates to the Ballerina language specification Type/Improvement Enhancement to language design
Projects
None yet
Development

No branches or pull requests

1 participant