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 handling nil clobs #111

Merged
merged 3 commits into from Jul 4, 2019
Merged

Conversation

aszecowka
Copy link
Contributor

Problem: when I created a new application with ApiSpec/EventApiSpec, but Data was not provided, in return I got Data with "", instead of nil.

@aszecowka aszecowka added the kind/bug Categorizes issue or PR as related to a bug. label Jul 4, 2019
@aszecowka aszecowka added this to the Sprint_X-Team_4 milestone Jul 4, 2019
@@ -328,3 +331,33 @@ func TestConverter_MultipleInputFromGraphQL(t *testing.T) {
})
}
}

func TestApiSpecDataConversionNilStaysNil(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I would consolidate this test into table tests for the conversion

@aszecowka aszecowka merged commit f6cea79 into kyma-incubator:master Jul 4, 2019
@aszecowka aszecowka deleted the fix-clobs-again branch July 4, 2019 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants