Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensive API calls due to filter preparation #42

Closed
olivermack opened this issue Dec 14, 2018 · 2 comments
Closed

Extensive API calls due to filter preparation #42

olivermack opened this issue Dec 14, 2018 · 2 comments

Comments

@olivermack
Copy link

olivermack commented Dec 14, 2018

I came across a rather unexpected change in the api-doc-parser which suddenly (I mean, of course after an update ;)) issues dedicate GET collection requests in order to determine the filter-parameters... for all the known api resources.

I'm pretty much aware that those filter parameters are only populated in the hydra-specs for the collection endpoint but as far as I can see there seems no option to turn that off. Right now, my client application issues around 100 additional API calls (~50 OPTIONS + ~50 GET) for the initialization which slows down the ramp up of my app tremendously...

As I can't find that much of information except the PRs in the admin and api-doc-parser components I'd like to know any suggestion to fail forward on that topic. I can imagine an option/flag to activate/deactivate the filter-parameter lookups or an additional hook that allows the subsequent enrichment of particular Resource objects whenever needed. I'm fine to work on that and to provide PRs, but I'd like to collect some info first.

This relates to #33

@FACOLOMBANI
Copy link

Same issue for me, i have a big drop in performance.

@L-Luciano
Copy link

Any news ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants