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 default value for null #45

Merged
merged 7 commits into from
Jul 4, 2023
Merged

Fix default value for null #45

merged 7 commits into from
Jul 4, 2023

Conversation

mytharcher
Copy link
Contributor

As mentioned in #28, default value should not be applied to null value, and should be only applied to undefined value instead.

@mytharcher mytharcher changed the title Fix default value for null, and string template for date type Fix default value for null Jul 4, 2023
Copy link
Member

@curran curran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you

test.js Show resolved Hide resolved
index.js Show resolved Hide resolved
test.js Outdated Show resolved Hide resolved
test.js Outdated Show resolved Hide resolved
test.js Outdated Show resolved Hide resolved
@curran curran merged commit 35d582c into datavis-tech:master Jul 4, 2023
@curran
Copy link
Member

curran commented Jul 4, 2023

Released in /~https://github.com/datavis-tech/json-templates/releases/tag/v5.0.0

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.

2 participants