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

45 Коммитов

Автор SHA1 Сообщение Дата
Rikki Gibson 98aba6036b
Add additional properties support to serializer (#219) 2018-09-10 13:44:24 -07:00
Abhishek Goenka 0de30867dd Avoid split for undefined objects 2018-09-05 07:32:45 +05:30
Rikki Gibson 5bd7b67e4d
Mapper interfaces (#180)
* Update mapper type definitions

* Fix tests

* Fix CompositeType className and modelProperties

* Bump to v0.17.0
2018-07-31 13:08:24 -07:00
Rikki Gibson 090a2093aa Fall back to serializedName when deserializing property in XML mode 2018-07-10 12:16:51 -07:00
Dan Schulte bcb3485947 Restructure some of documentation comments 2018-07-09 14:26:56 -07:00
Rikki Gibson 13da6db58b Support x-nullable 2018-06-28 12:17:31 -07:00
Rikki Gibson 641308710b more slimming 2018-06-22 09:25:46 -07:00
Rikki Gibson 2433e48034 Remove most usages of await 2018-06-22 09:25:46 -07:00
Rikki Gibson 5033d099be Reduce size by 0.2 kB by using mangleable locals 2018-06-19 13:18:48 -07:00
Rikki Gibson c15f040717 Clean up constraint validation 2018-06-19 13:09:51 -07:00
Rikki Gibson 9f07ebd6db Improve type safety of mappers 2018-06-19 10:47:32 -07:00
Rikki Gibson 405c245ddc Add headerCollectionPrefix [de]serialization 2018-06-18 14:58:26 -07:00
Rikki Gibson 2ae0ad5cfb Make Serializer properties read only 2018-06-14 14:23:12 -07:00
Rikki Gibson 21d161c544 Update serializer.ts to use closure over functions instead of private members 2018-06-14 14:19:47 -07:00
Dan Schulte 9576d342a1 All generator tests pass 2018-06-14 13:30:31 -07:00
Rikki Gibson 3f497185a5 Remove usages of Buffer from ms-rest-js 2018-06-01 18:03:24 -07:00
Dan Schulte 388bf7f237 Resolving PR comments 2018-05-31 15:31:45 -07:00
Dan Schulte cc1145cb3b Working on refactoring mapper generation 2018-05-31 12:51:44 -07:00
Rikki Gibson 3449be8235 Fix handling of stream request bodies 2018-05-25 12:37:24 -07:00
Rikki Gibson fe494789b6 Always parse numbers and booleans in serializer 2018-05-23 12:47:47 -07:00
Dan Schulte 8d32942b44 Move strEnum() function to serializer.ts 2018-05-23 09:50:08 -07:00
Rikki Gibson 7bd6af8ffb Add isDuration(string) function. Remove traces of moment. 2018-05-03 14:29:31 -07:00
Rikki Gibson 91a6ec1921 Replace momentjs with simple duration format test. Tweak webpack config. 2018-05-03 10:27:02 -07:00
Rikki Gibson aa8fd5c108 Fixes from review feedback 2018-04-02 16:44:07 -07:00
Rikki Gibson 707303e2f9 Add workaround for empty non-wrapped XML lists. Allow "== undefined". 2018-04-02 16:44:07 -07:00
Rikki Gibson 64a82bae69 Only parse numbers and booleans when deserializing XML 2018-04-02 16:44:07 -07:00
Rikki Gibson 22bd9a3d13 Cleanup 2018-04-02 16:44:07 -07:00
Rikki Gibson 3c5dcbdd9d Safe unwrapping of wrapped list. Parse numbers and booleans. 2018-04-02 16:44:07 -07:00
Rikki Gibson 97d6b9980a Move force-arraying from composite to sequence deserialization 2018-04-02 16:44:07 -07:00
Rikki Gibson 80ed8578a5 Cleanup syntax for wrapping list 2018-04-02 16:44:07 -07:00
Rikki Gibson ada3e1970e Handle empty wrapped list case 2018-04-02 16:44:07 -07:00
Rikki Gibson 4a81be8ab9 Handle empty list cases 2018-04-02 16:44:07 -07:00
Rikki Gibson 6561b57141 Serialize wrapped lists 2018-04-02 16:44:07 -07:00
Rikki Gibson 9b69ab1f45 add stringifyXML function, deserialize wrapped lists 2018-04-02 16:44:07 -07:00
Rikki Gibson da728b9512 Fix comparison bug and remove isArray check 2018-04-02 16:44:07 -07:00
Rikki Gibson d329bfd59a Add xml2js dependency and basic deserialization support 2018-04-02 16:44:07 -07:00
Rikki Gibson 120edc59b0 Port Azure/azure-sdk-for-node#2332: Deals with unrecognized polymorphic discriminator 2018-04-02 15:03:21 -07:00
Rikki Gibson 73500b00bb Port Azure/azure-sdk-for-node#2302: relax validation for object types 2018-04-02 10:54:24 -07:00
Rikki Gibson a56943afd3 Fix quotes 2018-03-23 15:10:43 -07:00
Rikki Gibson 5b2aaf9992 check if isValid is a function 2018-03-23 15:06:38 -07:00
Rikki Gibson bc25063531 Loosen Duration check to accommodate multiple moment versions 2018-03-23 14:53:01 -07:00
Amar Zavery 30f571fc13 Added support for [de]serializing an "any" type. 2018-02-22 17:25:21 -08:00
Amar Zavery cb455db9d5 convert forEach to for .. of 2017-10-17 12:10:36 -07:00
Amar Zavery a2040256fd replacing eval by traversing recursively in the object. 2017-10-17 11:27:00 -07:00
Amar Zavery 1636d476ea Initial commit 2017-09-13 09:52:01 -07:00