Typescript - database hook type inference for additional fields
This is my current
auth.ts
:
In the database -> user -> create -> before hook, despite setting the "role" additional field as required, there is no issue if I were to remove the "role" field, i.e.
i.e. the role "type" is not picked up at all.
I'm also facing a separate type issue client-side, which I've posted here:
https://discord.com/channels/1288403910284935179/1323671049413333033/1323857938875420734
Am I doing something wrong or is this an issue with the type system?1 Reply
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View