code-corps / code-corps/code-corps-ember

Modify Conversation serializer to handle includes based on JSON API sideposting draft

Đang mở
#1,624 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
blocked
Ngôn ngữ chính
JavaScript
Star
120
Fork
75
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

# Problem

From https://github.com/json-api/json-api/pull/1197/files?short_path=571f6ce#diff-571f6cee9a492e0e177801c21a4b2b2a

When creating a `conversation` alongside a `message`, we need to generate a `tempId` for that conversation. The `tempId` needs to appear as `temp-id` both in the json['data']['relationship'] identifier as well as the `json['included']` section and needs to be posted to the API.

## References

Needs to be implemented together with #1303 https://github.com/code-corps/code-corps-api/issues/1303.

The code this needs to modify is in #1597, so this should be considered blocked until that is merged.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.