Skip to content

Commit ee43a64

Browse files
authored
Merge pull request #1750 from salasrod/solving-api-to-router-circular-dependency
Removing Router from autoload, API already loads it
2 parents 648b53a + d15e9cd commit ee43a64

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* [#1740](https://github.com/ruby-grape/grape/pull/1740): Fix dependent parameter validation using `given` when parameter is a `Hash` - [@jvortmann](https://github.com/jvortmann).
1010
* [#1737](https://github.com/ruby-grape/grape/pull/1737): Fix translating error when passing symbols as params in custom validations - [@mlzhuyi](https://github.com/mlzhuyi).
1111
* [#1749](https://github.com/ruby-grape/grape/pull/1749): Allow rescue from non-`StandardError` exceptions - [@dm1try](https://github.com/dm1try).
12+
* [#1750](https://github.com/ruby-grape/grape/pull/1750): Fix a circular dependency warning due to router being loaded by API - [@salasrod](https://github.com/salasrod).
1213
* Your contribution here.
1314

1415
### 1.0.2 (1/10/2018)

lib/grape.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ module Grape
3030
eager_autoload do
3131
autoload :API
3232
autoload :Endpoint
33-
autoload :Router
3433

3534
autoload :Namespace
3635

0 commit comments

Comments
 (0)