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

Push resource sorting logic to the repository layer #3488

Open
danail-branekov opened this issue Sep 20, 2024 · 0 comments
Open

Push resource sorting logic to the repository layer #3488

danail-branekov opened this issue Sep 20, 2024 · 0 comments
Labels

Comments

@danail-branekov
Copy link
Member

Background

The handler layer is supposed to deal with request/protocol details only and delegate all logic to the repository layer. Hoewver there are a couple of places where soring resources takes place in the handler:

  • api/handlers/app.go
  • api/handlers/service_instance.go
  • api/handlers/role.go
  • api/handlers/buildpack.go
  • api/handlers/package.go

Action to take

Push sorting logic down to repo layer. We can take inspiration from the deployment repo where it has already been solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🇪🇺 To do
Development

No branches or pull requests

1 participant