identity:name field filled with the id
Normally the identity name is given in the identity name, but in this case the id is given. That’s not nice to display it in an app interface.
query MyQuery {
account(where: {identity: {accountId: {_eq: "g1KMwnX7UaWSudfrqsCnUrZTZzKQVBRsbARJxkFnNQQwjeXEo"}}}) {
id
balance
totalBalance
identity {
id
name
}
}
}
{
"data": {
"account": [
{
"id": "g1KMwnX7UaWSudfrqsCnUrZTZzKQVBRsbARJxkFnNQQwjeXEo",
"balance": 100,
"totalBalance": 100,
"identity": {
"id": "0000379576-e125f-000001",
"name": "0000379576-e125f-000001"
}
}
]
}
}
Reported in https://forum.duniter.org/t/g1nkgo-in-gtest/13185/19 till post 24.
Edited by Moul