adopted-ember-addons / adopted-ember-addons/ember-local-storage
Export a single model and related models?
- Ngôn ngữ chính
- JavaScript
- Star
- 220
- Fork
- 78
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
It looks like the export function will export the entire local-storage database. Is there a way to serialize only a specific model and its relationships?
Since the add-on serializer extends JSONAPISerializer, I expected it to include the related models data, but it only appears to include the related IDs and model names.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by finding the export function and the add-on serializer that extends JSONAPISerializer. The issue asks whether export can serialize one model plus relationships instead of the whole local-storage database, but it does not name files or a desired API. Done would require either implementing that behavior or documenting that only related IDs and model names are exported.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- data, frontend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100