Skip to content

Instantly share code, notes, and snippets.

/CRUD.py Secret
Created Aug 18, 2017

Embed
What would you like to do?
# Создаю словарь с заранее сгеренированным id. Все работает.
mutation {
create_dictionary(id: [500, 3000]) {
dictionary {
id
translation
}
}
update_dictionary(id: [500, 3000], translation: "string") {
dictionary {
id
translation
}
}
}
# Пытаюсь генерировать id в "create_dictionary" и использовать этот id в "update_dictionary".
mutation {
create_dictionary() {
dictionary {
id
translation
}
}
update_dictionary(translation: "string") {
dictionary {
id
translation
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.