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, using + for concatenation only works if values.Encode doesn't produce a string with valid formatting placeholders which is unfortunately the case when passing a RFC3339 timestamp. Because then the server can't decode the string anymore since it will contain the string (MISSING). To fix the issue, you can do the following which is concatenating after formatting the string:
Right now when trying to use
url.Values
with jape, the only way to do so without making the analyser angry is like this:However, using
+
for concatenation only works ifvalues.Encode
doesn't produce a string with valid formatting placeholders which is unfortunately the case when passing a RFC3339 timestamp. Because then the server can't decode the string anymore since it will contain the string(MISSING)
. To fix the issue, you can do the following which is concatenating after formatting the string:Or by doing
Both fixes break the Analyser unfortunately. The only way I've gotten it to work was by doing this:
Which unfortunately is a lot more code.
The text was updated successfully, but these errors were encountered: