System Information
- Strapi Version: v4.0.4
- Operating System: Windows 10
- Database: SQLite
- Node Version:
- NPM Version:
- Yarn Version:
Hey there,
I really dislike the default response structured in object { data { id, attributes {} } }
query{
projects{
data{
id
attributes{
name
client{
data{
attributes{
name
}
}
}
}
}
}
}
Simple calls are pretty verbose, and front end usage too
projects[i].client.name
becomes (maybe for very valid reasons) projects[i].data.attributes.client.data.attributes.name
and I don’t like it