TheEdoRan / next-safe-action

Type safe and validated Server Actions in your Next.js (App Router) project.
https://next.next-safe-action.dev
BSD 3-Clause "New" or "Revised" License
1.38k stars 26 forks source link

i there a way to use the action wrapper without input validation #73

Closed AlaaMX closed 3 months ago

AlaaMX commented 3 months ago

Is there an existing issue for this?

Library version (optional)

No response

Ask a question

Hello, i wanted to ask if there is a way to use the createSafeActionClient wrapper without input validation and still getting all the status right ?

Additional context

No response

TheEdoRan commented 3 months ago

Hi @AlaaMX, do you mean creating actions without input data?

AlaaMX commented 3 months ago

Exactly @TheEdoRan .

TheEdoRan commented 3 months ago

Check out issue #59 and this comment.