Skip to content

Conversation

blaggacao
Copy link
Contributor

@blaggacao blaggacao commented Dec 14, 2019

max size = 2 -> 2 database
max age = 2 -> today-1 database - WRONG
maz age = 2 -> today-2 database - RIGHT

Given that with max size, semantics are [max_size[, it doesn't align to have [max_age]

David Arnold added 3 commits December 14, 2019 15:54
max size = 2 -> 2 database
max age = 2 -> day-1 database - WRONG
maz age = 2 -> day-2 database - RIGHT
@sbidoul sbidoul added the WIP label Jan 5, 2020
@sbidoul
Copy link
Member

sbidoul commented Jan 5, 2020

Marking this as WIP. Please elaborate what the issue is and check why your change breaks tests.

@blaggacao
Copy link
Contributor Author

blaggacao commented Jan 7, 2020

Max Size has an exclusive upper boundary while Max age has an inclusive upper boundary.

They should have both an exclusive upper boundary as "max" can be semantically expanded to "maximum permitted".

@sbidoul
Copy link
Member

sbidoul commented Mar 27, 2020

Tests are red, so this changes the behavior. I'd rather change the documentation (if needed at all).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants