-
-
Notifications
You must be signed in to change notification settings - Fork 266
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
Removing dependencies? #442
Comments
You were the one who OK'd it: The reason for putting the comment in is to provoke reactions from people who are actually using the keyword and want to keep it. The note is doing what it is intended to do. It is not in any way a commitment to removing the keyword. I'm closing this not because your objections aren't useful (they are, and I've noted the point), but because I want people other than the usual suspects to file objections. That works better if they can't find one that's already open :-) |
Thinking on this a bit more, it's really the schema form of Or if it is, I really don't like having the same keyword used for the string and schema forms. They're not really the same thing and it's hard to reason about the keyword as it can be either a subschema keyword or a value keyword which is weird. |
|
I agree about schema form, this one was a bit confusing indeed. I think I meant schema form in that comment too ;) |
I find the schema form very useful. Please let's not remove it. If anything let's remove the values form.
isn't that much worse than
but replacing the schema version with a combination of It's much clearer than Side-jibe at |
This was covered in excruciating detail in #180, and will not be revisited until the keywords have been available in a published draft to see how they are or are not used "in the wild." |
Although I am a big fan of "if","then","else" I would not care to lose (either form of) "dependencies". Some constraints may be expressed much more clearly using "dependencies" (just as some things are better expressed using "if","then","else" than tangled "xxxOf" clauses). It is counterproductive to try to squeeze out all redundancies at the cost of clarity, not just of exposition but of intent. |
Based on feedback we opted to split The string array form is now |
@handrews could you please point me to the discussion about adding the note about the possibility of removing dependencies?
If it wasn't discussed, I would propose to remove this note from the spec until such possibility is agreed.
Without "dependencies", a concise schema:
will have to be replaced with:
which seems both more verbose and more difficult to understand.
So I am not sure what could be the motivation to remove it.
The text was updated successfully, but these errors were encountered: