-
Notifications
You must be signed in to change notification settings - Fork 2
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
Appends _serializableMap {} to the objects of the given class after serializing #26
Comments
Hi @mohitp-cci , can you give me an use case for this, please? |
@delete @SerializeProperty({ @SerializeProperty({ set setID(id: string) { set setStatus(status: string) { i am deserialising the order object from the json. Request body json : the deseriazed object contains _serializeMap":{}. Eg |
Let me if I understand correctly. You want the _serializeMap to be present or it's present right now and you want it removed? |
@dpopescu It is present in the deserialized object, which should be removed. |
@mohitp-cci got it and totally agree. It should not pollute the object's public API. It should be hidden under a Symbol and should not be enumerable. Thanks. When the private properties spec will be available natively in browser, the implementation should change to that. |
No description provided.
The text was updated successfully, but these errors were encountered: