Closed loichuder closed 3 years ago
Putting integers in the select query parameter of GET value would give an empty value.
select
select=[n] would indeed be transformed to the empty slice [n:n].
select=[n]
[n:n]
In this PR, select=[n] is interpreted as [n:n+1], yielding a slice containing the element n.
[n:n+1]
n
Looks good, thanks for the PR
Putting integers in the
select
query parameter of GET value would give an empty value.select=[n]
would indeed be transformed to the empty slice[n:n]
.In this PR,
select=[n]
is interpreted as[n:n+1]
, yielding a slice containing the elementn
.