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 force-pushed the dev/jasongin/nullability branch from 5699fa2 to 3e5d8a3 Compare October 9, 2023 21:14
@jasongin jasongin requested a review from vmoroz October 10, 2023 00:41
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