Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add `Skip()` and `Top()` to `QuickbaseQueryBuilder`

オープン 初心者向け
#16 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@bercedev がすでに取り組んでいます。

2026年10月21日 から。

  • #23 @bercedev による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
88/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp
領域
api

調査の方向性

QuickbaseNet/Helpers/QuickbaseQueryBuilder.cs、QuickbaseNet/Models/Options.cs、QuickbaseNet/Requests/QuickbaseQueryRequest.csを読み、その後、既存のクエリビルダーのテストを確認してください。要求されたビルダーメソッドとオプションのシリアル化動作を実装し、どちらのメソッドも呼び出されない場合はOptionsをnullのままにしてください。dotnet test --filter FullyQualifiedName~QuickbaseQueryBuilderTestsを実行し、記載された3つの完了条件を確認してください。

索引モデルが issue の本文から書いたものです。

説明

enhancement good first issue

The query endpoint takes skip and top options for paging. QuickbaseQueryRequest already has an Options property for them, but QuickbaseQueryBuilder never sets it. This is the paging item in ROADMAP.md.

What to do

  • Add Skip(int count) and Top(int count) to QuickbaseQueryBuilder. Each returns the builder, like the other methods.
  • In Build(), set Options only when one of them was called. Otherwise leave it null, as it is today.
  • In Options, add DefaultValueHandling = DefaultValueHandling.Ignore to the skip and top properties, so calling only Skip(100) doesn't also send "top": 0.
  • Add XML doc comments to both methods.

QueryAllRecords is a separate roadmap item. Leave it out.

Where to look

  • QuickbaseNet/Helpers/QuickbaseQueryBuilder.cs (Build() is at line 86)
  • QuickbaseNet/Models/Options.cs
  • QuickbaseNet/Requests/QuickbaseQueryRequest.cs, line 46

Done when

  • .Skip(100).Top(50) builds a request with Options.Skip 100 and Options.Top 50
  • A request built without either has Options == null
  • JsonConvert.SerializeObject of a request built with only .Skip(100) contains "skip":100 and no "top" key
  • Tests for all three in QuickbaseNet.UnitTests/Tests/QuickbaseQueryBuilderTests.cs (create it if it doesn't exist)

Testing it

dotnet test --filter FullyQualifiedName~QuickbaseQueryBuilderTests
主要言語
C#
スター
3
フォーク
2
平均マージ
5時間 53分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hazeliscoding/quickbase-net のほかの issue

hazeliscoding/quickbase-net の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。