{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/strong-arc/issues/537","labels_url":"https://api.github.com/repos/strongloop/strong-arc/issues/537/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/strong-arc/issues/537/comments","events_url":"https://api.github.com/repos/strongloop/strong-arc/issues/537/events","html_url":"https://github.com/strongloop/strong-arc/issues/537","id":49590377,"number":537,"title":"Type for AnonymousModel (or Model or models) is set as null, app will not start from failure in model-builder.js","user":{"login":"uhrohraggy","id":3861250,"avatar_url":"https://avatars.githubusercontent.com/u/3861250?v=3","gravatar_id":"","url":"https://api.github.com/users/uhrohraggy","html_url":"https://github.com/uhrohraggy","followers_url":"https://api.github.com/users/uhrohraggy/followers","following_url":"https://api.github.com/users/uhrohraggy/following{/other_user}","gists_url":"https://api.github.com/users/uhrohraggy/gists{/gist_id}","starred_url":"https://api.github.com/users/uhrohraggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uhrohraggy/subscriptions","organizations_url":"https://api.github.com/users/uhrohraggy/orgs","repos_url":"https://api.github.com/users/uhrohraggy/repos","events_url":"https://api.github.com/users/uhrohraggy/events{/privacy}","received_events_url":"https://api.github.com/users/uhrohraggy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"cgole","id":991632,"avatar_url":"https://avatars.githubusercontent.com/u/991632?v=3","gravatar_id":"","url":"https://api.github.com/users/cgole","html_url":"https://github.com/cgole","followers_url":"https://api.github.com/users/cgole/followers","following_url":"https://api.github.com/users/cgole/following{/other_user}","gists_url":"https://api.github.com/users/cgole/gists{/gist_id}","starred_url":"https://api.github.com/users/cgole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgole/subscriptions","organizations_url":"https://api.github.com/users/cgole/orgs","repos_url":"https://api.github.com/users/cgole/repos","events_url":"https://api.github.com/users/cgole/events{/privacy}","received_events_url":"https://api.github.com/users/cgole/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2014-11-20T17:31:37Z","updated_at":"2015-07-24T23:24:38Z","closed_at":null,"body":"{ modelBuilder: \r\n   { models: \r\n      { Model: [Object],\r\n        PersistedModel: [Object],\r\n        Email: [Object],\r\n        Application: [Object],\r\n        AnonymousModel_0: [Object],\r\n        AnonymousModel_1: [Object],\r\n        AnonymousModel_2: [Object],\r\n        AnonymousModel_3: [Object],\r\n        AnonymousModel_4: [Object],\r\n        AnonymousModel_5: [Object],\r\n        AccessToken: [Object],\r\n        RoleMapping: [Object],\r\n        Role: [Object],\r\n        ACL: [Object],\r\n        Scope: [Object],\r\n        User: [Object],\r\n        Change: [Object],\r\n        Checkpoint: [Object],\r\n        admin: [Object],\r\n        Audience: [Object],\r\n        CommunicationChannel: [Object],\r\n        Country: [Object],\r\n        Department: [Object],\r\n        Group: [Object],\r\n        Institution: [Object],\r\n        Zipcode: [Object],\r\n        AnonymousModel_6: [Object] },\r\n     definitions: \r\n      { Model: [Object],\r\n        PersistedModel: [Object],\r\n        Email: [Object],\r\n        AnonymousModel_2: [Object],\r\n        AnonymousModel_3: [Object],\r\n        AnonymousModel_1: [Object],\r\n        AnonymousModel_4: [Object],\r\n        AnonymousModel_0: [Object],\r\n        AnonymousModel_5: [Object],\r\n        Application: [Object],\r\n        AccessToken: [Object],\r\n        RoleMapping: [Object],\r\n        Role: [Object],\r\n        ACL: [Object],\r\n        Scope: [Object],\r\n        User: [Object],\r\n        Change: [Object],\r\n        Checkpoint: [Object],\r\n        admin: [Object],\r\n        Change: [Object],\r\n        Checkpoint: [Object],\r\n        admin: [Object],\r\n        Audience: [Object],\r\n        CommunicationChannel: [Object],\r\n        Country: [Object],\r\n        Department: [Object],\r\n        Group: [Object],\r\n        Institution: [Object],\r\n        Zipcode: [Object],\r\n        AnonymousModel_6: [Circular] },\r\n     mixins: { modelBuilder: [Circular], mixins: {} },\r\n     defaultModelBaseClass: \r\n      { [Function: ModelConstructor]\r\n        setMaxListeners: [Function],\r\n        emit: [Function],\r\n        addListener: [Function],\r\n        on: [Function],\r\n        once: [Function],\r\n        removeListener: [Function],\r\n        removeAllListeners: [Function],\r\n        listeners: [Function],\r\n        super_: [Object],\r\n        defineProperty: [Function],\r\n        getPropertyType: [Function],\r\n        isHiddenProperty: [Function],\r\n        mixin: [Function],\r\n        getDataSource: [Function],\r\n        afterInitialize: null,\r\n        beforeValidate: null,\r\n        afterValidate: null,\r\n        beforeSave: null,\r\n        afterSave: null,\r\n        beforeCreate: null,\r\n        afterCreate: null,\r\n        beforeUpdate: null,\r\n        afterUpdate: null,\r\n        beforeDestroy: null,\r\n        afterDestroy: null,\r\n        validatesPresenceOf: [Function],\r\n        validatesAbsenceOf: [Function],\r\n        validatesLengthOf: [Function],\r\n        validatesNumericalityOf: [Function],\r\n        validatesInclusionOf: [Function],\r\n        validatesExclusionOf: [Function],\r\n        validatesFormatOf: [Function],\r\n        validate: [Function],\r\n        validateAsync: [Function],\r\n        validatesUniquenessOf: [Function],\r\n        getter: {},\r\n        setter: {},\r\n        definition: [Object],\r\n        settings: [Object],\r\n        forEachProperty: [Function],\r\n        attachTo: [Function],\r\n        extend: [Function],\r\n        registerProperty: [Function],\r\n        setup: [Function],\r\n        _ACL: [Function: getACL],\r\n        checkAccess: [Function],\r\n        _getAccessTypeForMethod: [Function],\r\n        getApp: [Function],\r\n        remoteMethod: [Function],\r\n        disableRemoteMethod: [Function],\r\n        belongsToRemoting: [Function],\r\n        hasOneRemoting: [Function],\r\n        hasManyRemoting: [Function],\r\n        scopeRemoting: [Function],\r\n        nestRemoting: [Function],\r\n        ValidationError: [Object],\r\n        sharedClass: [Object],\r\n        sharedCtor: [Object],\r\n        beforeRemote: [Function],\r\n        afterRemote: [Function] },\r\n     _nameCount: 6 },\r\n  name: 'AnonymousModel_6',\r\n  rawProperties: { type: null },\r\n  settings: { anonymous: true, idInjection: false, strict: false },\r\n  relations: [],\r\n  **properties: { type: { type: null } },**\r\n  _ids: [] }\r\n\r\n/home/user2/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/model-builder.js:374\r\n      throw new Error('Invalid type for property ' + propertyName);\r\n            ^\r\nError: Invalid type for property type\r\n    at Function.ModelClass.registerProperty (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/model-builder.js:374:13)\r\n    at ModelBuilder.defineClass [as define] (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/model-builder.js:442:16)\r\n    at ModelBuilder.resolveType (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/model-builder.js:626:19)\r\n    at ModelDefinition.build (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/model-definition.js:221:34)\r\n    at ModelDefinition.defineProperty (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/model-definition.js:254:8)\r\n    at ModelBuilder.defineProperty (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/model-builder.js:485:27)\r\n    at DataSource.defineProperty (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/datasource.js:741:21)\r\n    at DataSource.defineForeignKey (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/datasource.js:1730:10)\r\n    at Function.RelationDefinition.belongsTo (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/relation-definition.js:1132:26)\r\n    at Function.RelationMixin.belongsTo (/home/uhrohraggy/Documents/apps/integration/node_modules/loopback-datasource-juggler/lib/relations.js:123:29"},"comment":{"url":"https://api.github.com/repos/strongloop/strong-arc/issues/comments/124764327","html_url":"https://github.com/strongloop/strong-arc/issues/537#issuecomment-124764327","issue_url":"https://api.github.com/repos/strongloop/strong-arc/issues/537","id":124764327,"user":{"login":"sam-github","id":17607,"avatar_url":"https://avatars.githubusercontent.com/u/17607?v=3","gravatar_id":"","url":"https://api.github.com/users/sam-github","html_url":"https://github.com/sam-github","followers_url":"https://api.github.com/users/sam-github/followers","following_url":"https://api.github.com/users/sam-github/following{/other_user}","gists_url":"https://api.github.com/users/sam-github/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-github/subscriptions","organizations_url":"https://api.github.com/users/sam-github/orgs","repos_url":"https://api.github.com/users/sam-github/repos","events_url":"https://api.github.com/users/sam-github/events{/privacy}","received_events_url":"https://api.github.com/users/sam-github/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T23:24:38Z","updated_at":"2015-07-24T23:24:38Z","body":"@uhrohraggy is this still true?"}}