Граф коммитов

466 Коммитов

Автор SHA1 Сообщение Дата
Kamil Pajdzik 7f378a92eb Update README.md 2018-11-14 10:14:05 -08:00
Amar Zavery 0632d022c1
Merge pull request #259 from amarzavery/fix
Fix the issue of "Initializers are not allowed in ambient contexts" for 3.0.x version of TS
2018-11-09 09:03:03 -08:00
Amar Zavery 9aab0c2e1d Merge branch 'master' of github.com:azure/ms-rest-js into fix 2018-11-08 12:56:56 -08:00
Kamil Pajdzik 91fce83166
Fix (de)serializing polymorphic elements in an array (#262)
* Prepare additional test case

* Fix array element's name

* Fix serializing polymorphic elements in array

* Address code review comments
2018-11-07 10:55:35 -08:00
Amar Zavery e4abb99311 Fix the issue of "Initializers are not allowed in ambient contexts" for 3.0.x version of TS 2018-11-05 17:27:58 -08:00
Kamil Pajdzik 059c685e07
Fix deserializing nested composite types with no polymorphic discriminator specified (#258) 2018-11-05 13:55:00 -08:00
Dan Schulte 2ebfafa759
Merge pull request #257 from Azure/kamip/576e7f79-revert
Revert "Fix missing renaming in ServiceClient (#256)"
2018-11-02 13:23:04 -07:00
Kamil Pajdzik 2bbdcf857f Revert "Fix missing renaming in ServiceClient (#256)"
This reverts commit 576e7f791a.
2018-11-02 13:05:44 -07:00
Kamil Pajdzik 576e7f791a
Fix missing renaming in ServiceClient (#256)
* Fix missing renaming in ServiceClient

* Rename references in unit tests

* Fix failing test
2018-11-02 12:06:59 -07:00
Kamil Pajdzik 1ea02dac61
Reorganize user agent telemetry construction (#254)
* Restructure value of user agent telemetry

* Add option to set empty telemetry

* Simplify if condition
2018-11-01 09:26:55 -07:00
Kamil Pajdzik 523b891b4d
Add browser telemetry (#252) 2018-10-26 13:59:05 -07:00
Dan Schulte d5c802bf64
Merge pull request #251 from Azure/daschult/xmlAttributeAndValue
Ignore XML headers when deserializing XML elements with headers and text
2018-10-17 09:39:03 -07:00
Dan Schulte 33a44e4dcb Apply ignore headers scenario to numbers 2018-10-17 09:30:42 -07:00
Dan Schulte fc4fab8fea Add another test 2018-10-16 19:59:32 -07:00
Dan Schulte c8ed724a4c Ignore XML headers when deserializing XML elements with headers and text 2018-10-16 18:49:18 -07:00
Dan Schulte 6b561e1bfe
Merge pull request #250 from Azure/daschult/xml
Make xml parsing more consistent and add tests
2018-10-16 09:00:57 -07:00
Dan Schulte ccb59eaff1 Fix comments 2018-10-15 15:50:59 -07:00
Dan Schulte 2b2fb53eb6 Change arrow functions in tests back to regular functions 2018-10-15 15:47:42 -07:00
Dan Schulte 27275da3e4 Add ability to set the content types that map to JSON and XML deserialization 2018-10-15 15:40:40 -07:00
Dan Schulte 6c4e1be904 Make xml parsing more consistent and add tests 2018-10-15 15:16:41 -07:00
Dan Schulte b21820be8b Remove package-lock.json from repository 2018-10-15 11:53:22 -07:00
Dan Schulte ab12c49099
Merge pull request #249 from Azure/daschult/scripts
Update regular expressions to be non-greedy
2018-10-15 09:42:37 -07:00
Dan Schulte 1fcf05dc09 Update regular expressions to be non-greedy 2018-10-12 15:54:47 -07:00
Dan Schulte fdd03b7233
Merge pull request #248 from Azure/daschult/scripts
Remove script step that changes package.json main property
2018-10-12 15:15:01 -07:00
Dan Schulte 3d7e8bda3b Change tilde to caret 2018-10-12 15:01:49 -07:00
Dan Schulte 294927a139 Remove writePackageJson() 2018-10-12 12:28:29 -07:00
Dan Schulte 5fa73d115f Remove script step that changes package.json main property 2018-10-12 12:20:26 -07:00
Rikki Gibson 5dcf17a942
Replace .npmignore with 'pkg.files' property (#244) 2018-10-04 14:24:34 -07:00
Rikki Gibson d393676d94
Rollup (#243)
* Add rollup config, update other configs, add thirdpartynotices for uuid

* Fix testserver

* Update changelog

* Update package-lock.json

* Move back to msRest global name

* Update changelog

* Properly depend on rollup

* Bump to v1.0.0
2018-10-04 13:47:11 -07:00
Amar Zavery ee65098f21
Merge pull request #242 from Azure/typestodev
move @types to devDependencies
2018-10-04 09:55:09 -07:00
Amar Zavery 0c0cf73497 update package-lock.json 2018-10-03 22:30:31 -07:00
Amar Zavery 04162b18a1
move @types to devDependencies 2018-10-03 22:12:31 -07:00
Dan Schulte 360831d0ba
Merge pull request #240 from Azure/daschult/dependencies
Fix dependency problems
2018-10-01 15:47:22 -07:00
Dan Schulte 1bc1d19003 Fix dependency problems 2018-10-01 15:38:45 -07:00
Kamil Pajdzik f64878f3d8
Update User-Agent (#239)
* Update User-Agent

This reverts commit 02cfece80a.

* Make User-Agent lowercase

* Update unit tests
2018-10-01 14:35:53 -07:00
Kamil Pajdzik 02cfece80a Revert "Update User-Agent"
This reverts commit bbf94fe98c.
2018-10-01 14:18:20 -07:00
Kamil Pajdzik bbf94fe98c Update User-Agent 2018-10-01 14:17:27 -07:00
Dan Schulte 940900d30c
Merge pull request #238 from Azure/daschult/appendPath
Add URLBuilder.appendPath()
2018-10-01 14:12:42 -07:00
Dan Schulte d188f4a1fd Add URLBuilder.appendPath() 2018-10-01 13:55:56 -07:00
Kamil Pajdzik 0f9c04da83
Add support for credentials to be a request policy (#237)
* Add support for credentials to be a request policy

* Improve policy request check

* Remove unnecassary casting
2018-10-01 12:56:50 -07:00
Kamil Pajdzik 8f17a6562a
Add Authenticator type (#234) 2018-09-27 09:58:28 -07:00
Amar Zavery a48c371278
Merge pull request #233 from Azure/break-cycle
Break cyclical reference between utils and webResource
2018-09-21 11:31:48 -07:00
Rikki Gibson d850b26a71 Break cyclical reference between utils and webResource 2018-09-21 11:20:47 -07:00
Rikki Gibson 3c131b37f7
Es interop (#232)
* Update tsconfig

* Update library code usages

* Update test code usages

* Update testserver
2018-09-20 10:02:51 -07:00
Rikki Gibson 47f5a8fb72
Check instanceof RestError in test (#229) 2018-09-12 14:58:42 -07:00
Kousuke Ebihara fa1b0c3b67 Fix `instanceof RestError` doens't work (#220) 2018-09-12 14:51:37 -07:00
Rikki Gibson 99216ae495
Tolerate unknown/missing polymorphic discriminators (#225)
* Tolerate unknown/missing polymorphic discriminators

* Automatically populate missing discriminator property
2018-09-12 14:41:14 -07:00
Rikki Gibson f30b1e9f42
Remove docs about TransferProgress being browser-only (#223) 2018-09-11 15:15:59 -07:00
Rikki Gibson ed41e39d6e
Simplify polymorphic serialization (#222)
* remove old version of polymorphic discriminator

* reduce some null/undefined checks

* Further condense getPolymorphicMapper

* Remove string polymorphic discriminator test
2018-09-11 15:04:02 -07:00
Rikki Gibson 98aba6036b
Add additional properties support to serializer (#219) 2018-09-10 13:44:24 -07:00