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

Use stricter types with "emit_unpopulated" option #8

Merged
merged 2 commits into from
Apr 25, 2024
Merged

Conversation

dpup
Copy link
Owner

@dpup dpup commented Apr 23, 2024

Hello @seanami,

This implements a emit_unpopulated option that updates the types to be more
strict, in accordance with what is expected when the same configuration is added
to the grpc gateway.

#5

Please review the following commits I made in branch dan/optional:

f1f3447 (2024-04-22 18:01:41 -0700)
Use stricter types with "emit_unpopulated" option

Code review reminders, by giving a LGTM you attest that:

  • Commits are adequately tested
  • Code is easy to understand and conforms to style guides
  • Incomplete code is marked with TODOs
  • Code is suitably instrumented with logging and metrics

@dpup dpup requested a review from seanami April 23, 2024 01:03
@dpup dpup merged commit ef5b14b into main Apr 25, 2024
2 checks passed
@dpup dpup deleted the dan/optional branch April 25, 2024 23:39
Copy link
Collaborator

@seanami seanami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks great! I'm excited to have required fields actually be required in TypeScript types. 🤩

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.

2 participants