Skip to content

removed array wrapping and updated clients #11

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
wants to merge 1 commit into from

Conversation

teddyward
Copy link

The methods in RestClient.ts that handled JsonWrappedArrays are no longer necessary because the generator will use VSSJsonCollectionWrappers whenever the controllers do. They actually caused problems in the generator logic because sometimes arrays that are taken as body parameters or returned are NOT wrapped up in that {count:number, value:T} form. This caused a 400, for example, on the previous version of the generated TestApi.addTestResultsToTestRun method.

Also updated the clients to the newest version in VSO.

Bumped version to 0.4.0

@teddyward
Copy link
Author

I don't know why the diff here shows the entire file as changing instead of individual lines... that kind of sucks.

nvm. CRLF/LF problem. Resubmitting...

@teddyward teddyward closed this Aug 20, 2015
@teddyward teddyward deleted the users/teddyward/arraywrapping branch August 20, 2015 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant