hello, i do a query and return the id, after that i do mutation with that id.
but that id not match for objects.get(id=id)
this is my query
{
userLogin(email:"test2@gmail.com",password:"test123"){
id
}
}
and return
{
"data": {
"userLogin": {
"id": "VXNlcjo1ZTVlMWRkYWVkMGQ2ZmU1MWNhZmRhMmE="
}
}
}
but i cant do mutation with that id
mutation{
userUpdate(input:{
userData:{
name:"test_create_user_edit5"
}
clientMutationId:"VXNlcjo1ZTVlMWRkYWVkMGQ2ZmU1MWNhZmRhMmE="
}){
user{
name
id
}
}
}
and return
{
"errors": [
{
"message": "'VXNlcjo1ZTVlMWRkYWVkMGQ2ZmU1MWNhZmRhMmE=' is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"userUpdate"
]
}
],
"data": {
"userUpdate": null
}
}
mongoengine : '0.19.1'
graphene-mongo :
thanks