Skip to content

Comments

Handle null value types#82

Merged
polok merged 2 commits intofeaturevisor:mainfrom
FranciszekCzana:tech/handle_null_values
Mar 17, 2025
Merged

Handle null value types#82
polok merged 2 commits intofeaturevisor:mainfrom
FranciszekCzana:tech/handle_null_values

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