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

Ensure that a primitive type (string, number, boolean, null, undefined) response body with or without a bodyMapper is not flattened #369

Merged
merged 1 commit into from
Jul 31, 2019

Conversation

amarzavery
Copy link
Contributor

No description provided.

…d) response body with or without a `bodyMapper` is not flattened.
@amarzavery amarzavery requested a review from a user July 31, 2019 02:16
@amarzavery amarzavery requested a review from daviwil July 31, 2019 02:17
@amarzavery
Copy link
Contributor Author

tested autorest.typescript generator tests with the latest changes in ms-rest-js and ms-rest-azure-js and everything passes locally.

amarz-MBP:autorest.typescript amarz$ sudo gulp test
[19:45:35] Using gulpfile ~/sdk/autorest.typescript/gulpfile.js
[19:45:35] Starting 'init'...
[19:45:35] Finished 'init' after 379 μs
[19:45:35] Starting 'test/generator-unit'...
           /Users/amarz/sdk/autorest.typescript :: dotnet test /Users/amarz/sdk/autorest.typescript/unittests/autorest.typescript.tests.csproj /nologo
[19:45:35] Starting 'test/typecheck'...
           /Users/amarz/sdk/autorest.typescript :: /Users/amarz/sdk/autorest.typescript/node_modules/.bin/tsc -p /Users/amarz/sdk/autorest.typescript/test/tsconfig.generated.json
[19:45:41] Finished 'test/generator-unit' after 5.2 s
[19:45:41] Finished 'test/typecheck' after 5.82 s
[19:45:41] Starting 'test/'...
[19:45:41] Starting 'init'...
[19:45:41] Finished 'init' after 3.2 μs
[19:45:41] Starting 'test/vanilla-metadata'...
           /Users/amarz/sdk/autorest.typescript/test/metadata/generated/BodyComplex :: npm install
[19:45:41] Starting 'test/azure-metadata'...
           /Users/amarz/sdk/autorest.typescript/test/azuremetadata/generated/Lro :: npm install
[19:45:42] Finished 'test/azure-metadata' after 1.07 s
[19:45:42] Finished 'test/vanilla-metadata' after 1.13 s
[19:45:42] Starting 'test/metadata'...
[19:45:42] Finished 'test/metadata' after 33 μs
[19:45:42] Starting 'init'...
[19:45:42] Finished 'init' after 4 μs
[19:45:42] Starting 'test/multiapi'...
           /Users/amarz/sdk/autorest.typescript/test/multiapi :: npm install
           /Users/amarz/sdk/autorest.typescript/test/multiapi :: npm run build
[19:45:55] Finished 'test/multiapi' after 13 s
[19:45:55] Starting 'test/nodejs-unit'...
           /Users/amarz/sdk/autorest.typescript :: /Users/amarz/sdk/autorest.typescript/node_modules/.bin/mocha
[19:46:03] Finished 'test/nodejs-unit' after 8.29 s
[19:46:03] Finished 'test/' after 22 s
[19:46:03] Starting 'test'...
[19:46:03] Finished 'test' after 53 μs
amarz-MBP:autorest.typescript amarz$

@amarzavery amarzavery merged commit 0f8b6ae into Azure:master Jul 31, 2019
Copy link
Contributor

@daviwil daviwil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

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.

2 participants