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

Fixed IsDate property for nullable DateTime and DateTimeOffset #32

Merged
merged 1 commit into from Jun 29, 2023

Conversation

ArtemDintecom
Copy link

@ArtemDintecom ArtemDintecom commented Jun 28, 2023

This fix is ​​needed to make the following code work again:

if (p.Type.IsDate) {
    if (p.Type.IsNullable) {
        ...
    }
}

Also, instead of name, encodeURIComponent(String({name})) will now be generated again for DateTime?.

@AdaskoTheBeAsT
Copy link
Owner

hi thanks a lot for finding and fix!
I will release this on weekend

@AdaskoTheBeAsT AdaskoTheBeAsT merged commit 91c6c51 into AdaskoTheBeAsT:master Jun 29, 2023
@ArtemDintecom ArtemDintecom deleted the fix-nullable-is-date branch June 29, 2023 17:42
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.

None yet

2 participants