Azure / Azure/data-api-builder
GraphQL Uuid Filter Options
- Lingua principale
- C#
- Stelle
- 1.5k
- Fork
- 370
- Merge medio
- 3g 22h
- PR unite (30g)
- 9
Descrizione
Different types in graphql support different filter options:
e.g.
```gql
query {
books(_filter: {id: {lt: 5 gt: 2}} title: {contains: "Book" notContains: "Great"})
{
...
}
}
```
Currently, the uuid type is handled as String which supports:
`eq, contains, notContains, startsWith, endsWith, neq, caseInsensitive, isNull`
Most of these options are not meaningful for the uuid type. We can create custom scalar types quite easily and add a restricted set of filter options. Afaict, `eq, gt, lt` make sense for uuid.
@yorek @Aniruddh25 thoughts?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non sono indicati file o test. Inizia individuando il GraphQL UUID scalar e il codice che assegna le String filter options, quindi confronta le implementazioni esistenti di scalar o filtri personalizzati. Il lavoro è completato quando UUID espone solo un insieme concordato di filtri significativi, con una coverage che dimostri che le string options non supportate non sono più disponibili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- graphql
- Ambito
- api
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100