Do not expose variable_count to the user #27
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: projectmoon/tenebrous-dicebot#27
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Variable count is stored as a variable for the user. Do not allow it to be deleted. It also should not show up in lists, or count towards the limit.
Solution is to add a metadata key space in the variables tree, where we keep track of the variable count with a different prefix.
I suppose we could also put it in an entirely different metadata tree, but maybe that's not so useful.
Fixed in
794bf0b854
.We need #29 to actually fix the count of existing variables though.