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

Standardize on returning an Object or the deserialized response from Vercel #14

Open
wulfmann opened this issue Jul 27, 2020 · 0 comments
Labels

Comments

@wulfmann
Copy link
Owner

When making API calls, the responses vary between returning a subset of properties, the whole object, or nothing.

For the most part GET requests will return the whole object, but creates/updates return subsets.
In an effort to make the responses standard, what would we like to do:

Options:

Return a partial class with some missing properties (for the subset responses)
Return the deserialized response directly from vercel
Return a new Object that represents the response for the API call (similar to the aws-sdk for javascript)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant