Skip to content
This repository has been archived by the owner on Aug 18, 2023. It is now read-only.

Model generator does not pass default empty string #14

Closed
stepanzarubin opened this issue Jul 30, 2016 · 3 comments
Closed

Model generator does not pass default empty string #14

stepanzarubin opened this issue Jul 30, 2016 · 3 comments
Assignees
Labels

Comments

@stepanzarubin
Copy link

Going through this tutorial https://docs.strongloop.com/display/public/LB/Create+a+simple+API
Model generator does not pass default empty string:

Enter an empty property name when done.
? Property name: name
invoke loopback:property
? Property type: string
? Required? Yes
? Default value[leave blank for none]:
Warning: please enter the name property again. The default value provided "" is
not valid for type: string

@davidcheung
Copy link

davidcheung commented Aug 8, 2016

@stepanzarubin thanks for bringing this up, this issue should be fixed in strongloop/generator-loopback@9e6bff1 but it is not yet published to npmjs

cc @jannyHou

@davidcheung davidcheung added bug and removed #plan labels Aug 8, 2016
@jannyHou
Copy link
Contributor

jannyHou commented Aug 8, 2016

@bajtos Could you publish the latest commit in generator-loopback to get this bug fixed in npm org? Thanks!

@bajtos
Copy link
Member

bajtos commented Aug 9, 2016

For posterity, here is the original issue: strongloop/generator-loopback#213 I am waiting for our QA to verify the fix before making a new release.

This issue is a duplicate, I am closing it.

@bajtos bajtos closed this as completed Aug 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants