Skip to content

Handle null value types #82

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

Merged
merged 2 commits into from
Mar 17, 2025

Conversation

FranciszekCzana
Copy link
Contributor

No description provided.

@FranciszekCzana FranciszekCzana requested a review from a team as a code owner March 16, 2025 12:53
Comment on lines +122 to -120
case unknown
// @TODO: add Date type?
// @TODO: add `null` and `undefined` somehow
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is no undefined in JSON Object at all.
If anyone would like to add any, valid JSON object should have converted it to null


func testShouldParseNilVariables() {

// GIVEN
Copy link
Contributor

Choose a reason for hiding this comment

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

PascalCase -> "Given" to be consistent

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In this file all tests have upppercase. Maybe should I update them for consistency?

@polok polok merged commit 557688c into featurevisor:main Mar 17, 2025
1 check 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.

4 participants