forest_admin_agent 1.0.0.pre.beta.77 → 1.0.0.pre.beta.78
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27acf5eecdcc0214bb2f2c88c761a165e4c769e8790d10be2ed999e4e2b99c6f
|
4
|
+
data.tar.gz: 6fc3368da9efe7a50120dfcf27fb731100be817075343f4d489efdbd6a225a26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6325a6a4130edf6c3589bcdcf1c0247693fa17a95dd6dea045058b48e4289e85b13d0a4c9f9d67414aa1d91c6b795e254b20f966611ceff8448c27ea24f85a6
|
7
|
+
data.tar.gz: c68b8311af7cd615eaa1ef6b84dc9126098988d725885e6499acd9acb743d4023474fda0ec10176c7d3a6eb2b7ab405936db8335a11290b60290b6ca80fa76ef
|
@@ -5,7 +5,6 @@ module ForestAdminAgent
|
|
5
5
|
module Resources
|
6
6
|
class List < AbstractAuthenticatedRoute
|
7
7
|
include ForestAdminDatasourceToolkit::Components::Query::ConditionTree
|
8
|
-
include ForestAdminDatasourceToolkit::Validations
|
9
8
|
|
10
9
|
def setup_routes
|
11
10
|
add_route('forest_list', 'get', '/:collection_name', ->(args) { handle_request(args) })
|
@@ -31,8 +30,6 @@ module ForestAdminAgent
|
|
31
30
|
segment: ForestAdminAgent::Utils::QueryStringParser.parse_segment(@collection, args)
|
32
31
|
)
|
33
32
|
|
34
|
-
ConditionTreeValidator.validate(filter.condition_tree, @collection) if filter.condition_tree
|
35
|
-
|
36
33
|
projection = ForestAdminAgent::Utils::QueryStringParser.parse_projection_with_pks(@collection, args)
|
37
34
|
records = @collection.list(@caller, filter, projection)
|
38
35
|
|