Comments (3)
This is a workaround I ended up writing. Leaving it here in case it could help anybody else until this support gets officially added. Basically all it does is attempt to serialize instances of HttpError prior to running the serialization from this framework.
You just need to use JsonApiMediaTypeFormatterWithErrorSupport instead of the JsonApiMediaTypeFormatter.
from hypermedia.
Hi, no they are not currently supported. I have looked into it in the past and it is on the TODO list. I might revisit this soon.
from hypermedia.
FYI,
I've just pushed a release that now has support for errors. Would be good to get your feedback.
Thanks,
Cain
from hypermedia.
Related Issues (20)
- Record Type Support
- C#9 Record Support HOT 1
- Decimal to String conversion fails
- Support `JsonPropertyNameAttribute` on Enum Deserialization HOT 1
- Upgrade to .NET 6 HOT 3
- Fetching Recursively
- Can't Cast `JsonNumber` to `Double` HOT 1
- Custom Recasting During Deserialization
- Create Test Suite
- Unit Tests
- Functional Tests
- Integration Tests
- Get Repo to Github Community Standards
- Code of Conduct
- Contributing Guide
- Issue Templates
- PR Templates
- Setup CI
- Setup CD
- .NET 6 Upgrade and Killing of .NET Framework Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hypermedia.