-
Even though i am passing valid data, I am getting below error.
My serializer class
```
class QuestionCompoundSerializer(PolymorphicSerializer):
model_serializer_mapping = {
TOEFL_RCMC…
-
I am trying to upgrade from `0.9.3` to `0.10.4` and noticed the following
```ruby
# Collection
# Works in 0.9.3, does not work in 0.10.4
render json: @users, serializer: Admin::UserSerializer
…
kapso updated
7 years ago
-
{"id":"8ee600c4-a7dd-4895-85c3-0f64dfd0c845","status_code":500,"version":"1.10.0","detail":"The .create() method does not support writable nested fields by default.\nWrite an explicit .create() method…
-
I am not a 100% sure about this, but when all resource names are dasherized and pluralized, shouldn't the included names be plural and dasherized too?
By included names I mean:
http://jsonapi.org/fo…
-
In a properly REST application, the server should engage in [content negotiation](https://en.wikipedia.org/wiki/Content_negotiation) to deliver the client's preferred representation of a resource.
I …
glyph updated
7 years ago
-
Hi guys,
Very good work, I just have one query regarding this.
Basically, when I get (Response.data).keys() it is really important for me to receive only attributes defined in within the model. Ho…
-
Right now, [getHashForIncludedResource](https://github.com/miragejs/miragejs/blob/master/lib/serializer.js#L450) will call `keyForRelationship` with only the resource model name, so all included resou…
-
Hi!
When I have a resource with
```
attributes :a, :b, :remove
```
every time I fetch them, jsonapi ACTUALLY REMOVES them one by one from database with following trace:
```
D, [2017-07-20…
begor updated
7 years ago
-
### Summary
The Resource class provides virtual `OnSaving` / `OnSaved` handler methods that are only invoked when serializing via Resource API, but not when using a serializer explicitly. Long-term…
ilexp updated
6 years ago
-
[[RFC7644] (Section 3.5.2.3)](https://www.rfc-editor.org/rfc/rfc7644#section-3.5.2.3) lists the following example of a valid `urn:ietf:params:scim:api:messages:2.0:PatchOp` object,
```
The foll…