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

Support exactOptionalPropertyTypes flag #386

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

VanCoding
Copy link

Hi and thanks a lot for this awesome library!

Today I wanted to switch on the TypeScript option "exactOptionalPropertyTypes" for a project and noticed that the generated Zeus client doesn't like it. So I decided to fix it by myself quickly and make a PR. And here it is now :)

What I wasn't sure about was the example-code. When I generate it, I get a different schema and a therefore a different client.

Let me know if I missed something or if there's anything else I should do before you can merge it.

Best regards and thanks again,
Patrik

@VanCoding VanCoding changed the title Exact optional property types Support exactOptionalPropertyTypes flag Nov 21, 2023
@VanCoding
Copy link
Author

@aexol Any way to the this merged in?

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