Closed vfonic closed 4 years ago
I noticed that setting:
option(:from_date, type: Types::DateType, required: true)
has no effect.
I was wondering why the list of accepted keys is limited here: https://github.com/RStankov/SearchObjectGraphQL/blob/master/lib/search_object/plugin/graphql.rb#L29
The plugin also doesn't report any issues on non-matched keys, just ignores them silently. I think the best solution would be to accept all passed keys (options), or at least report of any wrongly passed / ignored ones.
Closing this as proposed solution got accepted and merged. Thanks!
I noticed that setting:
has no effect.
I was wondering why the list of accepted keys is limited here: https://github.com/RStankov/SearchObjectGraphQL/blob/master/lib/search_object/plugin/graphql.rb#L29
The plugin also doesn't report any issues on non-matched keys, just ignores them silently. I think the best solution would be to accept all passed keys (options), or at least report of any wrongly passed / ignored ones.