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

CRUD handlers use auth dependant types even if auth is not enabled #2120

Open
infomiho opened this issue Jun 24, 2024 · 0 comments
Open

CRUD handlers use auth dependant types even if auth is not enabled #2120

infomiho opened this issue Jun 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@infomiho
Copy link
Contributor

infomiho commented Jun 24, 2024

Because CRUD handlers are by default private they depend on auth being enabled in their definition.

Screenshot 2024-06-24 at 16 30 05

We could do a couple of things:

  • make CRUD handlers public by default if no auth is enabled
  • make auth a requirement for using the CRUD feature

EDIT: this might be a case of using the wrong imports e.g. UnauthenticatedQueryDefinition should be used

@infomiho infomiho added the bug Something isn't working label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant