a8m / a8m/rql

Filter and sort known fields by default

Aperta
#5 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
help wanted
Lingua principale
Go
Stelle
367
Fork
43
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Sometimes, we embed structs that we don't have access to edit, but we still want to be able to filter and sort by them. For example:
```go
type User struct {
gorm.Model
// ...
}
```
Therefore, I want to add support for filtering and sorting known fields. These fields can be part of the configuration of the parser with some default values.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

The issue is about extending the RQL parser to filter and sort by known fields from embedded structs like gorm.Model. Start by examining the parser configuration and how fields are currently discovered. Look for where field validation and query building happens. The goal is to allow pre-defined fields in the config and have them work in filter/sort operations.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
go
Ambito
api, backend
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.