Use `map[string]json.RawMessage` rather than `map[string]any` for GeoJSON foreign members and properties

Đang mở
#660 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
go
Lĩnh vực
backend

Hướng nghiên cứu

Start by locating the GeoJSON code that represents foreign members and properties, then inspect how those values are unmarshaled and covered by tests. Update the representation to preserve raw JSON values and add coverage for large integral numbers above 2^52; done means those values round-trip without losing information.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

breaking change geojson improve

This is because foreign members and properties may contain values that don't unmarshal into any without loss of information. For example, JSON numbers that are integral but greater than 2^52 will be unmarshalled into float64 values but loss some information.

Ngôn ngữ chính
Go
Star
176
Fork
27
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của peterstace/simplefeatures

Tất cả issue của peterstace/simplefeatures

Issue tương tự

Thêm issue về Go

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.