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

Add registration and authentication options JSON parsing #211

Merged
merged 12 commits into from
Mar 28, 2024

Conversation

MasterKale
Copy link
Collaborator

This PR adds parse_registration_options_json() and parse_authentication_options_json() helpers to assist in getting raw dict's mapped to more complex types. Intended to help refactor use of Pydantic's .parse_obj() in projects using earlier versions of this library to v2.0.0+.

Fixes #210.

@MasterKale MasterKale marked this pull request as ready for review March 28, 2024 18:57
@MasterKale MasterKale added this to the v2.1.0 milestone Mar 28, 2024
@MasterKale MasterKale merged commit dc08bc0 into master Mar 28, 2024
4 checks passed
@MasterKale MasterKale deleted the fix/parse-reg-auth-options-json branch March 28, 2024 19:11
@MasterKale MasterKale removed this from the v2.1.0 milestone Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add methods to help parse registration and authentication options JSON
1 participant