System Information
- Strapi Version: 4.24.4
- Operating System: MacOS
- Database: Postgres
Current Behaviour
The names of fields inside the Content Manager started with small letters. It looks unprofessional.
As you can see in the above shown image, the field names are as:
- excerpt
- title
However, I want them to be displayed as:
- Excerpt
- Title
Solutions Tried
Sure, I can edit the model and change the field name to e.g. Title
.
But doing so will interfere with GraphQL queries.
In GraphQL queries, I’ll also have to write the capital letters field names as:
query {
blogPosts {
data {
id
attributes {
Title
Excerpt
}
}
}
}
This can lead to confusion between Field Names
& Type Names
.
Conventionally, Field Names
start with small letters and Type Names
start with capital letters.
Desired Behaviour
- in GraphQL queries, field names should start with small letter
- in Content Manager, field names should start with capital letter