I have a GraphQL API with graphene-django and I want to customize the query response. Here is the default response;
{
"data": {
"materials": {
}
},
"errors": {
}
}
However, I want to customize it like this;
{
"data": {
"materials": {
}
},
"errors": {
},
"extra_field": {
}
}
How can I do this?