basalt-rs / basalt-rs/basalt-server

`/questions` languages does not include the raw name

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
Rust
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, the languages listed in `/questions` does not include the raw name of the language. This makes it so it can't be used on the frontend.

Add a new field to the `LanguageSyntax` struct that contains the raw name (and consider renaming the other fields to reduce confusion)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the /questions endpoint and locate the LanguageSyntax struct used to build its language list. Trace how its fields are serialized for the frontend, then add the raw language name and assess whether the existing field names are confusing. Done means /questions exposes the raw name in its language entries and the response remains consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.