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 nullability context for typedefs generator #158

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

jasongin
Copy link
Member

@jasongin jasongin commented Oct 7, 2023

Fixes #147

This took a while to diagnose... The nullability context was not loading correctly for value-types (such as DateTime), because IsValueType was incorrectly returning false, because the referenced System.ValueType was loaded from a reference assembly instead of a runtime assembly. I added a workaround in the TS generator that fixes the problem.

@jasongin jasongin merged commit ac15b02 into main Oct 10, 2023
7 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.

Type generation with nullability fails
2 participants