Joe Woodward
Joe Woodward
Before rendering `jsonapi_errors` should also check if the current `Content-Type` is actually `application/vnd.api+json`
Didn't see this response. I will try to come up with an elegant solution
Maybe rather than using an exception to handle the flow control the controller should have a customizable error response. i.e. In the config file you can set the default error...
@veelenga your question is related to this https://github.com/jsonapi-rb/jsonapi-rails/issues/86, it's not related to the issue outlined here. However, one note is that none of the errors attributes are actually required, they...
Should we override the error description if the pointer is missing? http://jsonapi.org/examples/#error-objects-source-usage the example here returns a description "detail": "Missing data Member at document's top level." which maybe makes more...
I think that's the issue though. The following is a valid payload ``` { data: { attributes: {} } } ``` Even if the logic was changed to consider this...
I've just updated our app to rails 6 which meant also updating active_model_serializers and also came across this issue. In our case we have some collection serializers that serialize ActiveRecord::ActiveRecord_Relation...
Would be good to also bypass that after_save call if the object doesn't respond to it
This appears to be an easy fix from the code. Instead of calling `Audited.audit_class`, a class method should be defined when you include the module which can then be overridden...
This only makes sense if you want your docs to be public knowledge. Would be useful if you could specify a file that was not available to the web.