Multiple Queries support should support multiple of the same query with different variables/options
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- frontend
Hướng nghiên cứu
Start by tracing useFaustQuery and the existing multiple-queries support. Check how the current DocumentNode argument is consumed and review related tests or call sites. Done means repeated queries can use distinct variables or options without breaking existing one-argument usage.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Our multiple queries support allows for define multiple queries, but we should also support defining multiple of the same query, with different variables and/or options.
Currently useFaustQuery() accepts only one argument, and that's the query DocumentNode. To support this, we may need to pass in a second argument for the variables or options, like:
const {post} = useFaustQuery(GET_POST, {databaseId: 5})
Or something along those lines, to avoid breaking changes.
- Ngôn ngữ chính
- TypeScript
- Star
- 1.6k
- Fork
- 157
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 137
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của wpengine/faustjs
-
[Area] Core [Area] WordPress Plugin [Type] Feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
wpengine/faustjs#2679 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Apollo Client 4 SPIKEĐang mở[Area] Core dependencies
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
wpengine/faustjs#2192 · 5 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Area] Core [Area] WordPress Plugin [Type] Bug Close Candidate Needs Reproduction
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
wpengine/faustjs#1933 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Area] Core [Type] Bug Close Candidate Needs Reproduction Needs Triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
wpengine/faustjs#1531 · 3 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của wpengine/faustjs
Issue tương tự
-
[Bug]: REST API URL starting with "http" but no scheme (e.g. httpbin.org/get) is not given an http:// prefixCó thể đã có người làm @ItsDeadlyProgrammer đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
appsmithorg/appsmith#42471 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ehmpathy/rhachet-roles-bhrain#705 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Status: Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
mermaid-js/mermaid#8546 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
braintrustdata/braintrust-sdk-javascript#2659 ·
Maintainer thường phản hồi trong vòng 1 ngày