SDK Parity: C# implementation needed
A change was made in supabase-js that needs to be implemented in this repository for SDK parity.
Reference Implementation (supabase-js)
- Commit:
7ec2df9
- PR: #2078
- Module: postgrest
- Type: new-feature
What Changed
Two new configuration options were added to PostgrestClient:
timeout (optional): Timeout in milliseconds. Requests auto-abort after this duration.
urlLengthLimit (default: 8000): Maximum URL length before warning/error.
Code Reference
export default class PostgrestClient {
urlLengthLimit: number
constructor(url: string, {
timeout,
urlLengthLimit = 8000,
})
}
Implementation Guidance
Expected API Surface (C#)
public class ClientOptions
{
public TimeSpan? Timeout { get; set; } // NEW
public int UrlLengthLimit { get; set; } = 8000; // NEW
}
Key Behaviors to Match
Timeout: Use CancellationTokenSource with timeout for auto-cancellation
UrlLengthLimit: Defaults to 8000. Validates URL before request
- Both propagated from SupabaseClient to Postgrest client
- PascalCase per C# conventions
Acceptance Criteria
Context
- supabase-js version: v2.95.3
- Parity tracking: This issue was auto-generated by SDK parity analysis
- Related parity issues: SDK-698 (dart), SDK-699 (py), SDK-700 (swift)
Generated with Claude Code /sync-sdk-parity
SDK Parity: C# implementation needed
A change was made in
supabase-jsthat needs to be implemented in this repository for SDK parity.Reference Implementation (supabase-js)
7ec2df9What Changed
Two new configuration options were added to
PostgrestClient:timeout(optional): Timeout in milliseconds. Requests auto-abort after this duration.urlLengthLimit(default: 8000): Maximum URL length before warning/error.Code Reference
Implementation Guidance
Expected API Surface (C#)
Key Behaviors to Match
Timeout: UseCancellationTokenSourcewith timeout for auto-cancellationUrlLengthLimit: Defaults to 8000. Validates URL before requestAcceptance Criteria
Timeoutoption added to ClientOptionsUrlLengthLimitoption added with default of 8000Context
Generated with Claude Code
/sync-sdk-parity