Client code sends "empty" ints as values #204
Labels
No labels
Roadmap
V
bug
docs
duplicate
enhancement
good first issue
help wanted
idea
invalid
question
wontfix
Idea
Roadmap
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: vieter-v/vieter#204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Because V automatically initalizes an int as 0 if not specified, the value is always passed to the API. This causes the client code to send requests like this:
The only zero value we actually want to send is
offset=0. Luckily, this isn't a big issue because the server API treats a zero value as being not specified for most queries. Still, I'd like to prevent these unnecessary query parameters if possible.