{"action":"created","issue":{"url":"https://api.github.com/repos/immutables/immutables/issues/1092","repository_url":"https://api.github.com/repos/immutables/immutables","labels_url":"https://api.github.com/repos/immutables/immutables/issues/1092/labels{/name}","comments_url":"https://api.github.com/repos/immutables/immutables/issues/1092/comments","events_url":"https://api.github.com/repos/immutables/immutables/issues/1092/events","html_url":"https://github.com/immutables/immutables/issues/1092","id":497331074,"node_id":"MDU6SXNzdWU0OTczMzEwNzQ=","number":1092,"title":"Allow external models in Criteria API","user":{"login":"asereda-gs","id":25229979,"node_id":"MDQ6VXNlcjI1MjI5OTc5","avatar_url":"https://avatars3.githubusercontent.com/u/25229979?v=4","gravatar_id":"","url":"https://api.github.com/users/asereda-gs","html_url":"https://github.com/asereda-gs","followers_url":"https://api.github.com/users/asereda-gs/followers","following_url":"https://api.github.com/users/asereda-gs/following{/other_user}","gists_url":"https://api.github.com/users/asereda-gs/gists{/gist_id}","starred_url":"https://api.github.com/users/asereda-gs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asereda-gs/subscriptions","organizations_url":"https://api.github.com/users/asereda-gs/orgs","repos_url":"https://api.github.com/users/asereda-gs/repos","events_url":"https://api.github.com/users/asereda-gs/events{/privacy}","received_events_url":"https://api.github.com/users/asereda-gs/received_events","type":"User","site_admin":false},"labels":[{"id":1364716425,"node_id":"MDU6TGFiZWwxMzY0NzE2NDI1","url":"https://api.github.com/repos/immutables/immutables/labels/criteria","name":"criteria","color":"edde3d","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-23T21:11:50Z","updated_at":"2019-10-08T19:31:33Z","closed_at":null,"author_association":"MEMBER","body":"When POJO model / implementation is not managed by immutables it is still useful to have Criteria DSL generated for those models. \r\n\r\n### Example\r\n```java\r\n@Criteria // enable DSL generation on existing class\r\n// generate CustomPojoCriteria \r\nclass CustomPojo {\r\n   private String foo;\r\n   String getFoo() {...}\r\n   void setFoo(String foo) {...}\r\n}\r\n```\r\n\r\nCriteria usage should be possible on legacy (or non-immutable) code."},"comment":{"url":"https://api.github.com/repos/immutables/immutables/issues/comments/539666959","html_url":"https://github.com/immutables/immutables/issues/1092#issuecomment-539666959","issue_url":"https://api.github.com/repos/immutables/immutables/issues/1092","id":539666959,"node_id":"MDEyOklzc3VlQ29tbWVudDUzOTY2Njk1OQ==","user":{"login":"asereda-gs","id":25229979,"node_id":"MDQ6VXNlcjI1MjI5OTc5","avatar_url":"https://avatars3.githubusercontent.com/u/25229979?v=4","gravatar_id":"","url":"https://api.github.com/users/asereda-gs","html_url":"https://github.com/asereda-gs","followers_url":"https://api.github.com/users/asereda-gs/followers","following_url":"https://api.github.com/users/asereda-gs/following{/other_user}","gists_url":"https://api.github.com/users/asereda-gs/gists{/gist_id}","starred_url":"https://api.github.com/users/asereda-gs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asereda-gs/subscriptions","organizations_url":"https://api.github.com/users/asereda-gs/orgs","repos_url":"https://api.github.com/users/asereda-gs/repos","events_url":"https://api.github.com/users/asereda-gs/events{/privacy}","received_events_url":"https://api.github.com/users/asereda-gs/received_events","type":"User","site_admin":false},"created_at":"2019-10-08T19:31:33Z","updated_at":"2019-10-08T19:31:33Z","author_association":"MEMBER","body":"Partially implemented by #1103"}}
{"actor":{"display_login":"asereda-gs"}}