// Query
mutation createUsuario($data: UsuarioInput) {
createUsuario(data: $data){
Id
Nombre
Apellidos
Correo
IglesiaId
PersonaId
RolesxUsuarios{
Id
UsuarioId
RoleId
}
}
}
// Variables
[
{
"type": "nested",
"name": "data",
"variables": [
{
"type": "context",
"name": "Nombre",
"value": "Nombre"
},
{
"type": "context",
"name": "Apellidos",
"value": "Apellidos"
},
{
"type": "context",
"name": "Identificacion",
"value": "Identificacion"
},
{
"type": "session",
"name": "IglesiaId",
"value": "user.IglesiaId"
},
{
"type": "context",
"name": "PersonaId",
"value": "PersonaId"
},
{
"type": "context",
"name": "Correo",
"value": "Correo"
},
{
"type": "context",
"name": "Clave",
"value": "Clave"
},
{
"type": "context",
"name": "RolesxUsuarios",
"value": "RolesxUsuarios"
}
]
}
],
}