Skip to content

Conversation

@rasheedja
Copy link

@rasheedja rasheedja commented Jul 29, 2024

  • Generate a schema for a
  • Generate a schema with the null type
  • Combine both schemas with a oneOf to emulate Maybe a
  • Follows behaviour of other Maybe instances, e.g., ToJSON

Upstream PR: biocad#103

+ Generate a schema for `a`
+ Generate a schema with the `null` type
+ Combine both schemas with a `oneOf` to emulate `Maybe a`
+ Follows behaviour of other `Maybe` instances, e.g., `ToJSON`
@rasheedja
Copy link
Author

rasheedja commented Jul 29, 2024

hold off on merging this, there's a better PR upstream biocad#91

@rasheedja rasheedja closed this Jul 31, 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.

1 participant