Skip to content

Added the docs for the "groups" constraint option #11092

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

Closed
wants to merge 3 commits into from

Conversation

javiereguiluz
Copy link
Member

This continues #9557.

Question to reviewers: does this option apply to Valid and All constraints too?

@javiereguiluz javiereguiluz requested a review from HeahDude March 6, 2019 10:23
Copy link
Contributor

@HeahDude HeahDude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this huge PR! This is awesome. Sorry for the comments, but we need to not forget about them.
This was on my to-do list for a long time, also I thought we could use some "inherited" options as we do for form types. WDYT?

@@ -10,6 +10,7 @@ an object and all sub-objects associated with it.
+----------------+---------------------------------------------------------------------+
| Options | - `traverse`_ |
| | - `payload`_ |
| | - `groups`_ |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong order

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is tricky ... because the original options are not sorted either ... I'm going to try to fix some of the issues you reported ... but I won't make many changes. I want to submit a PR to 4.2 to change the format of the RST tables (they are a nightmare to maintain right now) and to sort all options (lots of them are not). I cannot do this in 3.4 because it will be impossible to merge in 4.2. Too many conflicts. Thanks for understanding.

Copy link
Contributor

@HeahDude HeahDude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Many thanks! Also, yes Valid and All also have the groups option.

javiereguiluz added a commit that referenced this pull request Mar 7, 2019
…reguiluz)

This PR was squashed before being merged into the 3.4 branch (closes #11092).

Discussion
----------

Added the docs for the "groups" constraint option

This continues #9557.

Question to reviewers: does this option apply to Valid and All constraints too?

Commits
-------

da9aa0e Added the docs for the \"groups\" constraint option
javiereguiluz added a commit that referenced this pull request Mar 7, 2019
This PR was squashed before being merged into the 4.2 branch (closes #11101).

Discussion
----------

Sort all validator constraints options

This continues #11092 and: simplifies RST tables, sorts option names and option descriptions (and fix some minor issues like missing option names in the tables).

It's impossible to review (because git doesn't detect correctly all the moved contents), so I'm going to merge it.

Commits
-------

34d8337 Sort all validator constraints options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants