You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the "s are not escaped and will therefore generate a faulty query:
mutation
{
create_item (
board_id: 1234,
group_id: "4321",
item_name: ""A" name", #<-- this is the problemcolumn_values: "{\\"key\\": \\"\\\\\\"A\\\\\\" value\\"}",
create_labels_if_missing: false
) {
id
}
}
I've worked around this for now by doing a value.replace('"', '\\"') before passing it to the api, but it would be nice if this library took care of it automatically.
For updating I'm only using change_multiple_column_values where the item name is in the dictionary, so no problems there, but there are probably other places where unescaped quotes are an issue.
The text was updated successfully, but these errors were encountered:
When creating an item through the API, the item name is specified as a separate argument:
However, the
"
s are not escaped and will therefore generate a faulty query:I've worked around this for now by doing a
value.replace('"', '\\"')
before passing it to the api, but it would be nice if this library took care of it automatically.For updating I'm only using
change_multiple_column_values
where the item name is in the dictionary, so no problems there, but there are probably other places where unescaped quotes are an issue.The text was updated successfully, but these errors were encountered: