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

HeaderBar should use query params to only fetch the fields it needs #205

Closed
HendrikThePendric opened this issue Jul 9, 2020 · 1 comment

Comments

@HendrikThePendric
Copy link
Contributor

Since the HeaderBar is a component that fetches data and is included in every single app, it would be worth minimising the amount of data that is sent over the wire. We are currently fetching all the fields that are included in the api/me endpoint, but we probably only need a couple of fields. So we should specify a list of fields to retrieve in params.fields on the me resource.

@varl
Copy link
Contributor

varl commented Nov 13, 2020

@varl varl closed this as completed Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants