reflect-metadata
reflect-metadata copied to clipboard
Types Not Reflecting
Using 2 different JSON Serialization libraries I am having an issue regarding type order with Angular 4:
The 2 cases are documented here: https://github.com/shakilsiraj/json-object-mapper/issues/9 https://github.com/jf3096/json-typescript-mapper/issues/19
The main issue seems to be the types must be defined in a particular order in order to be recognized. Is this ok behavior or is this a bug of the library. As I use the same object multiple places and sometimes have them nested (the app I am working on needs it) What would be the proper way of including them.