alexjbuck / alexjbuck/split-server
Root route doesn't actually return JSON formatted object
- Linguagem predominante
- Rust
- Estrelas
- 0
- Forks
- 0
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
The root route returns the `Debug` formatted rust struct for a `Dataset` not a JSON formatted object of `Dataset.list`
Actual output:
```
Dataset { list: [Record { name: "Mission 1", split: Test }, Record { name: "Mission 2", split: Train }, Record { name: "Mission 3", split: Validation }, Record { name: "Mission 4", split: Train }, Record { name: "Weirds-nasdlf!!@$#123__321", split: Train }, Record { name: "testing new thing", split: Unknown }] }
```
Desired output (new lines included for clarity, not expected in output):
```
{
[
{ name: "Mission 1", split: Test },
{ name: "Mission 2", split: Train },
{ name: "Mission 3", split: Validation },
{ name: "Mission 4", split: Train },
{ name: "Weirds-nasdlf!!@$#123__321", split: Train },
{ name: "testing new thing", split: Unknown }
]
}
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.