wasp icon indicating copy to clipboard operation
wasp copied to clipboard

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

Open infomiho opened this issue 1 week ago • 0 comments

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 avatar Jun 24 '24 14:06 infomiho