{"action":"closed","issue":{"url":"https://api.github.com/repos/feathers-plus/generator-feathers-plus/issues/32","repository_url":"https://api.github.com/repos/feathers-plus/generator-feathers-plus","labels_url":"https://api.github.com/repos/feathers-plus/generator-feathers-plus/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/feathers-plus/generator-feathers-plus/issues/32/comments","events_url":"https://api.github.com/repos/feathers-plus/generator-feathers-plus/issues/32/events","html_url":"https://github.com/feathers-plus/generator-feathers-plus/issues/32","id":356314330,"node_id":"MDU6SXNzdWUzNTYzMTQzMzA=","number":32,"title":"You should create new connection strings via \"generate service\"","user":{"login":"eddyystop","id":1553311,"node_id":"MDQ6VXNlcjE1NTMzMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1553311?v=4","gravatar_id":"","url":"https://api.github.com/users/eddyystop","html_url":"https://github.com/eddyystop","followers_url":"https://api.github.com/users/eddyystop/followers","following_url":"https://api.github.com/users/eddyystop/following{/other_user}","gists_url":"https://api.github.com/users/eddyystop/gists{/gist_id}","starred_url":"https://api.github.com/users/eddyystop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddyystop/subscriptions","organizations_url":"https://api.github.com/users/eddyystop/orgs","repos_url":"https://api.github.com/users/eddyystop/repos","events_url":"https://api.github.com/users/eddyystop/events{/privacy}","received_events_url":"https://api.github.com/users/eddyystop/received_events","type":"User","site_admin":false},"labels":[{"id":1043394726,"node_id":"MDU6TGFiZWwxMDQzMzk0NzI2","url":"https://api.github.com/repos/feathers-plus/generator-feathers-plus/labels/scheduled","name":"scheduled","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-02T21:10:57Z","updated_at":"2018-09-03T14:11:17Z","closed_at":"2018-09-03T14:11:17Z","author_association":"MEMBER","body":"The normal way to create a connection is to create a service using that connection with `generate service\". You will be prompted for the connection params after the service params.\r\n\r\nIf you create a connection first, say for Sequelize  and MySQL, and then create the **first** service to use it, the sequelize.js module will not be created. You need to either run `generate all` or rerun `generate service` for the same service. The generated code correct after this.\r\n\r\nFixing this is a chicken-or-the-egg issue. Its not a critical issue, and we will address it at some later time."}}
{"actor":{"display_login":"eddyystop"}}