Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Resolve qualified backticked references in prose

Đang mở
#48 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
documentation

Hướng nghiên cứu

This is a language-design question about extending the lint scanner to recognize qualified backticked references like payments.Invoice. Start by examining the existing scanner code for handling backticked references (likely in a lexer/parser or lint package). Review issue #25 for context on structured qualified references. The task involves designing a grammar for prose tokens and deciding on resolution rules, not implementing a solution. No specific files or tests are mentioned to begin coding.

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

Mô tả

Context

Structured qualified references are being extended in issue #25 to relationship.entity and subtypeOf. In freeform text, lint currently recognizes backticked local PascalCase references such as `Invoice` and `Invoice.number`. It does not recognize `payments.Invoice`: its scanner treats the lowercase scope segment as the candidate name and silently ignores it.

Follow-up

Decide whether qualified prose references should resolve through the importing model’s scope bindings, receive diagnostics when malformed or unresolved, and contribute to completeness. This requires a deliberately specified prose-token grammar rather than extending structured-reference handling accidentally.

No implementation is proposed by this issue; it is a deferred language-design question.

Ngôn ngữ chính
Go
Star
32
Fork
5
Merge trung bình
2 giờ 31 phút
Pull request đã merge (30 ngày)
5

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

Mở 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 stacklok/modelith

Tất cả issue của stacklok/modelith

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.