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

Allow the codegen to emit the null type #37

Merged
merged 1 commit into from
Jul 2, 2024
Merged

Commits on Jul 2, 2024

  1. Allow the codegen to emit the null type

    Some types have an explicit `Type.Null()` (as opposed to a
    `Type.Optional`). That's allowed by the spec, so we should support it.
    
    This change now correctly codegens `Type.Null()` (or in JSON-schema
    parlance, `"type": "null"`) into Python's `None` type.
    lhchavez committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    e06e535 View commit details
    Browse the repository at this point in the history