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

Metadata not stored correctly using Safari + Webpack #13

Open
kdubb opened this issue Jul 23, 2020 · 0 comments
Open

Metadata not stored correctly using Safari + Webpack #13

kdubb opened this issue Jul 23, 2020 · 0 comments

Comments

@kdubb
Copy link

kdubb commented Jul 23, 2020

Environment

Any Safari browser with client code that is webpacked.

Description

Expected behavior:

JsonProperty and its siblings annotations are stored correctly against constructor parameters.

Current behavior:

Annotations used against constructor parameters are stored against the wrong object and then are "missing" when the code attempts to read them back.

Steps to reproduce

  1. Build package that serializes/deserializes by using JsonProperty annotations on typescript constructor property definitions.
  2. Use package in app that is webpack'd (e.g. using Angular in production mode)
  3. Attempt to use code that serializes/deserializes; which fails due to missing JsonProperty metadata.
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

No branches or pull requests

1 participant