Skip to content

Add Result<T> pattern to wrap API responses #21

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

Closed
daviwil opened this issue Sep 23, 2015 · 1 comment
Closed

Add Result<T> pattern to wrap API responses #21

daviwil opened this issue Sep 23, 2015 · 1 comment
Labels
Issue-Enhancement A feature request (enhancement).

Comments

@daviwil
Copy link
Contributor

daviwil commented Sep 23, 2015

Instead of returning null from core API methods, a Result type should be returned which communicates the success or failure of the operation. If succeeded, the result value should be provided. Otherwise, error details should be provided.

@daviwil daviwil added the Issue-Enhancement A feature request (enhancement). label Sep 23, 2015
@daviwil daviwil added this to the 0.1.0 milestone Sep 23, 2015
@daviwil daviwil modified the milestones: 0.2.0, 0.1.0 Nov 16, 2015
@daviwil daviwil modified the milestone: Backlog Dec 31, 2015
@daviwil
Copy link
Contributor Author

daviwil commented Dec 6, 2016

I don't think this is necessary anymore, closing it for now.

@daviwil daviwil closed this as completed Dec 6, 2016
@daviwil daviwil modified the milestone: Backlog May 24, 2017
TylerLeonhardt pushed a commit to TylerLeonhardt/PowerShellEditorServices that referenced this issue Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

No branches or pull requests

1 participant