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(cli): remove errant default values on primitives (date primitives) #5381

Merged
merged 8 commits into from
Dec 11, 2024

Conversation

RohinBhargava
Copy link
Member

@RohinBhargava RohinBhargava commented Dec 10, 2024

Description

Previously, dates were listing a default value of new Date(0). Customers have reported that this is not the correct behavior.

Changes Made

  • Plumb defaults from v2 primitive shapes
  • Remove defaults from datetimes

Testing

  • Unit tests added/updated
  • Manual testing completed: Regenerated FDR for customer.

@RohinBhargava RohinBhargava changed the title fix: remove errant default values on primitives (date primitives) fix(cli): remove errant default values on primitives (date primitives) Dec 10, 2024
@RohinBhargava RohinBhargava marked this pull request as ready for review December 10, 2024 22:07
Copy link

github-actions bot commented Dec 10, 2024

🌿 Preview your docs: https://fern-preview-9dedbe82-efac-43f6-a864-96fed60b676b.docs.buildwithfern.com/learn

@RohinBhargava RohinBhargava enabled auto-merge (squash) December 11, 2024 17:16
@RohinBhargava RohinBhargava merged commit a2aa8cf into main Dec 11, 2024
53 checks passed
@RohinBhargava RohinBhargava deleted the rohin/remove-errant-defaults branch December 11, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants