{"action":"created","issue":{"url":"https://api.github.com/repos/angular/flex-layout/issues/778","repository_url":"https://api.github.com/repos/angular/flex-layout","labels_url":"https://api.github.com/repos/angular/flex-layout/issues/778/labels{/name}","comments_url":"https://api.github.com/repos/angular/flex-layout/issues/778/comments","events_url":"https://api.github.com/repos/angular/flex-layout/issues/778/events","html_url":"https://github.com/angular/flex-layout/issues/778","id":331743765,"node_id":"MDU6SXNzdWUzMzE3NDM3NjU=","number":778,"title":"AOT build throwing the error: Function calls are not supported in decorators but ‘FlexLayoutModule’ was called, when using withConfig options","user":{"login":"hags033","id":8786986,"node_id":"MDQ6VXNlcjg3ODY5ODY=","avatar_url":"https://avatars2.githubusercontent.com/u/8786986?v=4","gravatar_id":"","url":"https://api.github.com/users/hags033","html_url":"https://github.com/hags033","followers_url":"https://api.github.com/users/hags033/followers","following_url":"https://api.github.com/users/hags033/following{/other_user}","gists_url":"https://api.github.com/users/hags033/gists{/gist_id}","starred_url":"https://api.github.com/users/hags033/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hags033/subscriptions","organizations_url":"https://api.github.com/users/hags033/orgs","repos_url":"https://api.github.com/users/hags033/repos","events_url":"https://api.github.com/users/hags033/events{/privacy}","received_events_url":"https://api.github.com/users/hags033/received_events","type":"User","site_admin":false},"labels":[{"id":528387790,"node_id":"MDU6TGFiZWw1MjgzODc3OTA=","url":"https://api.github.com/repos/angular/flex-layout/labels/P0","name":"P0","color":"e11d21","default":false},{"id":288154195,"node_id":"MDU6TGFiZWwyODgxNTQxOTU=","url":"https://api.github.com/repos/angular/flex-layout/labels/bug","name":"bug","color":"d93f0b","default":true},{"id":506085435,"node_id":"MDU6TGFiZWw1MDYwODU0MzU=","url":"https://api.github.com/repos/angular/flex-layout/labels/has%20pr","name":"has pr","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"CaerusKaru","id":416563,"node_id":"MDQ6VXNlcjQxNjU2Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/416563?v=4","gravatar_id":"","url":"https://api.github.com/users/CaerusKaru","html_url":"https://github.com/CaerusKaru","followers_url":"https://api.github.com/users/CaerusKaru/followers","following_url":"https://api.github.com/users/CaerusKaru/following{/other_user}","gists_url":"https://api.github.com/users/CaerusKaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CaerusKaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaerusKaru/subscriptions","organizations_url":"https://api.github.com/users/CaerusKaru/orgs","repos_url":"https://api.github.com/users/CaerusKaru/repos","events_url":"https://api.github.com/users/CaerusKaru/events{/privacy}","received_events_url":"https://api.github.com/users/CaerusKaru/received_events","type":"User","site_admin":false},"assignees":[{"login":"CaerusKaru","id":416563,"node_id":"MDQ6VXNlcjQxNjU2Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/416563?v=4","gravatar_id":"","url":"https://api.github.com/users/CaerusKaru","html_url":"https://github.com/CaerusKaru","followers_url":"https://api.github.com/users/CaerusKaru/followers","following_url":"https://api.github.com/users/CaerusKaru/following{/other_user}","gists_url":"https://api.github.com/users/CaerusKaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CaerusKaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaerusKaru/subscriptions","organizations_url":"https://api.github.com/users/CaerusKaru/orgs","repos_url":"https://api.github.com/users/CaerusKaru/repos","events_url":"https://api.github.com/users/CaerusKaru/events{/privacy}","received_events_url":"https://api.github.com/users/CaerusKaru/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/angular/flex-layout/milestones/19","html_url":"https://github.com/angular/flex-layout/milestone/19","labels_url":"https://api.github.com/repos/angular/flex-layout/milestones/19/labels","id":3263061,"node_id":"MDk6TWlsZXN0b25lMzI2MzA2MQ==","number":19,"title":"v6.0.0-beta.17","description":"Improve Demo app with better navigation, demos to include source views (like angular material);\r\nConvert demos to support launch-to-StackBlitz feature;\r\nAPI docs generation","creator":{"login":"CaerusKaru","id":416563,"node_id":"MDQ6VXNlcjQxNjU2Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/416563?v=4","gravatar_id":"","url":"https://api.github.com/users/CaerusKaru","html_url":"https://github.com/CaerusKaru","followers_url":"https://api.github.com/users/CaerusKaru/followers","following_url":"https://api.github.com/users/CaerusKaru/following{/other_user}","gists_url":"https://api.github.com/users/CaerusKaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CaerusKaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaerusKaru/subscriptions","organizations_url":"https://api.github.com/users/CaerusKaru/orgs","repos_url":"https://api.github.com/users/CaerusKaru/repos","events_url":"https://api.github.com/users/CaerusKaru/events{/privacy}","received_events_url":"https://api.github.com/users/CaerusKaru/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":6,"state":"open","created_at":"2018-04-12T19:13:16Z","updated_at":"2018-06-13T21:06:42Z","due_on":"2018-06-28T07:00:00Z","closed_at":null},"comments":6,"created_at":"2018-06-12T20:35:41Z","updated_at":"2018-06-20T06:33:05Z","closed_at":null,"author_association":"NONE","body":"# Bug Report\r\n\r\n#### What is the expected behavior?\r\nApp should build in AOT when FlexLayoutModule.withConfig({addFlexToParent: false}) is added to the module.\r\n\r\n#### What is the current behavior?\r\nApp fails to build in AOT with error:  Function calls are not supported in decorators but ‘FlexLayoutModule’ was called, when using withConfig options\r\n\r\n#### What are the steps to reproduce?\r\ninclude in Module: FlexLayoutModule.withConfig({addFlexToParent: false})\r\n\r\n\r\n#### What is the use-case or motivation for changing an existing behavior?\r\n\r\n\r\n#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?\r\nAngular 6.0.4, Material 6.2.1\r\n\r\n#### Is there anything else we should know?\r\nWe have another module:     LocalStorageModule.withConfig({ prefix: '', storageType: 'localStorage' }) that builds fine."},"comment":{"url":"https://api.github.com/repos/angular/flex-layout/issues/comments/398639472","html_url":"https://github.com/angular/flex-layout/issues/778#issuecomment-398639472","issue_url":"https://api.github.com/repos/angular/flex-layout/issues/778","id":398639472,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODYzOTQ3Mg==","user":{"login":"simeyla","id":3656278,"node_id":"MDQ6VXNlcjM2NTYyNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/3656278?v=4","gravatar_id":"","url":"https://api.github.com/users/simeyla","html_url":"https://github.com/simeyla","followers_url":"https://api.github.com/users/simeyla/followers","following_url":"https://api.github.com/users/simeyla/following{/other_user}","gists_url":"https://api.github.com/users/simeyla/gists{/gist_id}","starred_url":"https://api.github.com/users/simeyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simeyla/subscriptions","organizations_url":"https://api.github.com/users/simeyla/orgs","repos_url":"https://api.github.com/users/simeyla/repos","events_url":"https://api.github.com/users/simeyla/events{/privacy}","received_events_url":"https://api.github.com/users/simeyla/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T06:33:05Z","updated_at":"2018-06-20T06:33:05Z","author_association":"NONE","body":"What's the workaround for now without pulling the fix?\r\n\r\nIs there an alternative way to set config - such as with a custom breakpoints provider like we used to do? Can I still use that?"}}
{"actor":{"display_login":"simeyla"}}