{"action":"opened","issue":{"url":"https://api.github.com/repos/tuxBurner/play-neo4jplugin/issues/25","labels_url":"https://api.github.com/repos/tuxBurner/play-neo4jplugin/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/tuxBurner/play-neo4jplugin/issues/25/comments","events_url":"https://api.github.com/repos/tuxBurner/play-neo4jplugin/issues/25/events","html_url":"https://github.com/tuxBurner/play-neo4jplugin/issues/25","id":124710207,"number":25,"title":"Enable feature to declare own neo @Neans","user":{"login":"unterstein","id":904420,"avatar_url":"https://avatars.githubusercontent.com/u/904420?v=3","gravatar_id":"","url":"https://api.github.com/users/unterstein","html_url":"https://github.com/unterstein","followers_url":"https://api.github.com/users/unterstein/followers","following_url":"https://api.github.com/users/unterstein/following{/other_user}","gists_url":"https://api.github.com/users/unterstein/gists{/gist_id}","starred_url":"https://api.github.com/users/unterstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unterstein/subscriptions","organizations_url":"https://api.github.com/users/unterstein/orgs","repos_url":"https://api.github.com/users/unterstein/repos","events_url":"https://api.github.com/users/unterstein/events{/privacy}","received_events_url":"https://api.github.com/users/unterstein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-04T07:35:01Z","updated_at":"2016-01-04T07:35:01Z","closed_at":null,"body":"Hi Sepp,\r\n\r\na happy new year by the way ;-)\r\n\r\nI would love to register own @Beans within the plugin, for example something like this\r\n\r\n```\r\n@Bean\r\npublic ConversionServiceFactoryBean conversionService() {\r\n    Set converters = Sets.newHashSet();\r\n\r\n    converters.add(new DateTimeToStringConverter());\r\n    converters.add(new StringToDateTimeConverter());\r\n\r\n    ConversionServiceFactoryBean bean = new ConversionServiceFactoryBean();\r\n    bean.setConverters(converters);\r\n    return bean;\r\n}\r\n```\r\n\r\nI want to register type converters, so that i have an embedded object in my datamodel and a string in the neo database.\r\n\r\nI get this work by adding this declaration to the RestNeo4jConfig (hack: clone and own and put it into my project in the correct package path). But this is really hacky.\r\n\r\nDo you think we can get this work by declaring the @Bean method somewhere else? In the project NeoProvider it doesn`t work. \r\n\r\nOr do you think it is possible to provide own Neo4jConfig classes? If you are fine with this, i would implement it and do a pull request.\r\n\r\nCheers\r\nJo"}}