Skip to content

Add Base64Url types#7286

Merged
dmontagu merged 1 commit intomainfrom
dmontagu/base64url-types
Aug 29, 2023
Merged

Add Base64Url types#7286
dmontagu merged 1 commit intomainfrom
dmontagu/base64url-types

Conversation

@dmontagu
Copy link
Copy Markdown
Contributor

The lack of these led to some confusion when talking with @Kludex about ser_json_bytes. Seemed easy enough to just add them.

@samuelcolvin and I discussed at some point possibly adding support for serializing json bytes as vanilla (non-URL-safe) base64 in pydantic core, but I think that's unnecessary for now (pydantic core will always serialize as url-safe base64 when that config setting is equal to 'base64').

@dmontagu dmontagu requested a review from Kludex August 29, 2023 14:52
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b4df1f2
Status: ✅  Deploy successful!
Preview URL: https://411e013e.pydantic-docs2.pages.dev
Branch Preview URL: https://dmontagu-base64url-types.pydantic-docs2.pages.dev

View logs

@dmontagu dmontagu enabled auto-merge (squash) August 29, 2023 14:55
@dmontagu dmontagu merged commit 84282ef into main Aug 29, 2023
@dmontagu dmontagu deleted the dmontagu/base64url-types branch August 29, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants