We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62d8696 commit f4f7279Copy full SHA for f4f7279
UPGRADING.md
@@ -1,6 +1,21 @@
1
Upgrading Grape
2
===============
3
4
+### Upgrading to >= 0.18.0
5
+
6
+#### Changed endpoint params validation
7
8
+Grape now returns validation errors for all params when multiple params are passed to a requires.
9
+The following code will return `one is missing, two is missing` when calling the endpoint without parameters.
10
11
+```ruby
12
+params do
13
+ requires :one, :two
14
+end
15
+```
16
17
+Prior to this version the response would be `one is missing`.
18
19
### Upgrading to >= 0.17.0
20
21
#### Removed official support for Ruby < 2.2.2
0 commit comments