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 setting a default value to Number #1182

Merged
merged 1 commit into from Apr 13, 2017

Conversation

Projects
None yet
3 participants
@deadcheat
Contributor

deadcheat commented Apr 13, 2017

same fixtures as #1181 to branch v1.

Fixed func PrintVal in goagen/codegen/finalizer.go that returns int value string when setting zero as a default value to Number type.

Fix setting a default value to Number
fix affected test in writers_test.go
@raphael

This comment has been minimized.

Show comment
Hide comment
@raphael

raphael Apr 13, 2017

Member

Thank you!

Member

raphael commented Apr 13, 2017

Thank you!

@raphael raphael merged commit ae73ff1 into goadesign:v1 Apr 13, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment