unosquare / embedio

A tiny, cross-platform, module based web server for .NET
http://unosquare.github.io/embedio
Other
1.45k stars 175 forks source link

Missing `JsonDataAttribute` in 3.4.3 #540

Closed nd1012 closed 2 years ago

nd1012 commented 2 years ago

Describe the bug The JsonDataAttribute type is missing in the NuGET packet version 3.4.3.

To Reproduce Download the version 3.4.3 from NuGET, try to use the JsonData attribute on a parameter or use ILSpy on the EmbedIO.dll and navigate to the EmbedIO.WebApi namespace.

Expected behavior As I understand the JsonDataAttribute should be a part of the NuGET package, too!?

Screenshots image

rdeago commented 2 years ago

Hello @nd1012, thanks for using EmbedIO!

This issue has already been fixed by PR #468. It's just that no new version has been released since then.

As a temporary workaround, you can copy the source code for JsonDataAttribute into your project. It only uses public-facing API so it will compile without problems.

Closing as "not a bug" since JsonDataAttribute has been added after the release of v3.4.3,

nd1012 commented 2 years ago

Thank you!

GF-Huang commented 2 years ago

Same issue. And why so long not release a new version?