Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On profiling absences #200

Open
stuartpb opened this issue Feb 12, 2017 · 0 comments
Open

On profiling absences #200

stuartpb opened this issue Feb 12, 2017 · 0 comments

Comments

@stuartpb
Copy link
Member

stuartpb commented Feb 12, 2017

One legacy artifact of the current system is that "no maximum password length" is profiled by not profiling a max password length, which is also the same as "not profiling the max password length".

While it could be argued that these are effectively the same thing (after all, all passwords are effectively limited, by the heat death of the universe if nothing else, and if there's no limit documented, that just means nobody's hit it yet), I think there needs to be greater clarity around the concept that no definitive state is expressed with a missing value, as absence is strictly reserved for data that is not profiled (either because it's not relevant, because it doesn't fit the schema, or because nobody's gotten around to it).

I considered having the max password length be Infinity, but, oh hey, there's no Infinity in JSON. Ugh. This might require a budge in the "no polymorphism" policy to represent it as a string (which I'm pretty much OK with, so long as both values are scalar).

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

No branches or pull requests

1 participant