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

Request: Add JWT Support #350

Open
Cajunvoodoo opened this issue Dec 30, 2023 · 1 comment
Open

Request: Add JWT Support #350

Cajunvoodoo opened this issue Dec 30, 2023 · 1 comment

Comments

@Cajunvoodoo
Copy link

It would be awesome to have JWT support in the same way we have UUID support. This shouldn't be too hard to add, since it appears that the UUID implementation isn't too complex. Please let me know if I'm mistaken here! If I have time, I might look into writing this myself.

What would be required beyond adding a new field to PGType and writing the raw UnsafeExpressions?

@echatav
Copy link
Contributor

echatav commented Jan 3, 2024

You might also need to add instances for encoding and decoding and inlining between the Haskell type and corresponding Postgres type for JWT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants