parity(postgrest): add URL length validation and timeout protection [from supabase-js]
Los mantenedores suelen responder en 1 día
@Tr00d ya está trabajando en esto.
Desde el 1/7/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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)
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: UseCancellationTokenSourcewith timeout for auto-cancellationUrlLengthLimit: Defaults to 8000. Validates URL before request- Both propagated from SupabaseClient to Postgrest client
- PascalCase per C# conventions
Acceptance Criteria
-
Timeoutoption added to ClientOptions -
UrlLengthLimitoption added with default of 8000 - URL length validation before request execution
- Timeout cancels requests via CancellationToken
- Unit tests cover both features
- Documentation updated
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
- Lenguaje dominante
- C#
- Estrellas
- 700
- Forks
- 105
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 41
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de supabase/supabase-csharp
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
supabase/supabase-csharp#450 ·
Los mantenedores suelen responder en 1 día
-
bug(gotrue): FailureReason matches english messages instead of error_codePosiblemente ocupada @Tr00d la tomó hace 26 días. Abierto
supabase/supabase-csharp#409 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
OAuth State Error for social providers since Supabase.Gotrue v6.1.0Quizá libre de nuevo @Tr00d la tomó hace 37 días y no hay ningún pull request abierto. Abiertobug
supabase/supabase-csharp#377 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Postgres Changes filters are validated as anon because SetAuth is applied after channel joinQuizá libre de nuevo @Tr00d la tomó hace 50 días y no hay ningún pull request abierto. Abiertoarea: postgrest bug
supabase/supabase-csharp#345 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
parity(functions): never send new-format API key as Authorization Bearer [from supabase-js]Quizá libre de nuevo @Tr00d la tomó hace 75 días y no hay ningún pull request abierto. Abiertobug parity
supabase/supabase-csharp#279 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de supabase/supabase-csharp
Issues similares
-
bug P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
nightscout/nocturne#1908 ·
Los mantenedores suelen responder en 1 día
-
bug documentation Needs: Triage :mag:
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
WPF: each page's `Title` overwrites the window title, and returning to a page does not restore itAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
agentic-workflows area/Docs partner/agentic-workflows
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jamesmontemagno/tiny-clips#378 · 2 comentarios ·
Los mantenedores suelen responder en 1 día