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

fix: Fix optional parameters in callbacks #143

Merged
merged 4 commits into from
Sep 23, 2024
Merged

Conversation

mrousavy
Copy link
Owner

@mrousavy mrousavy commented Sep 23, 2024

Fixes an issue where nullable/optional parameters were not optional/nullable in the generated specs.

something(callback: (value: number | undefined) => void): void

@mrousavy mrousavy changed the title feat: Add optional callback tests fix: Fix optional parameters in callbacks Sep 23, 2024
@mrousavy mrousavy merged commit 98d1c15 into main Sep 23, 2024
12 checks passed
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.

callback with optional parameters do not generate nullable parameters Nitrogen is not respecting optionals
1 participant