Skip to content

Commit 5ebbdd3

Browse files
committed
Added Upgrading to >= 2.4.0 section with note about Custom Validators
1 parent b4abb95 commit 5ebbdd3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

UPGRADING.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Upgrading Grape
22
===============
33

4+
### Upgrading to >= 2.4.0
5+
6+
#### Custom Validators
7+
8+
If you now receive an error of `'Grape::Validations.require_validator': unknown validator: your_custom_validation (Grape::Exceptions::UnknownValidator)` after upgrading to 2.4.0 then you will need to ensure that you require the `your_custom_validation` file before your Grape API code is loaded.
9+
10+
See [2533](https://github.com/ruby-grape/grape/issues/2533) for more information.
11+
412
### Upgrading to >= 2.3.0
513

614
### `content_type` vs `api.format` inside API

0 commit comments

Comments
 (0)