yanyongyu / githubkit

The modern, all-batteries-included GitHub SDK for Python, including rest api, graphql, webhooks, like octokit!
MIT License
159 stars 21 forks source link

Feature: Tweak `Missing` type to implicitly allow `None` values #48

Closed frankie567 closed 9 months ago

frankie567 commented 9 months ago

As discussed in #47, I'm proposing this change to avoid issues when GitHub schema is not reliable regarding properties that are nullable or not.

Semantically, it's equivalent to say that "if the property is not required in the OpenAPI schema, we allow it to have the value null".

frankie567 commented 9 months ago

Comment added :)