{"action":"created","issue":{"url":"https://api.github.com/repos/api-platform/api-platform/issues/250","repository_url":"https://api.github.com/repos/api-platform/api-platform","labels_url":"https://api.github.com/repos/api-platform/api-platform/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/api-platform/api-platform/issues/250/comments","events_url":"https://api.github.com/repos/api-platform/api-platform/issues/250/events","html_url":"https://github.com/api-platform/api-platform/issues/250","id":212987712,"number":250,"title":"Custom IriConverter","user":{"login":"Palethorn","id":671689,"avatar_url":"https://avatars2.githubusercontent.com/u/671689?v=3","gravatar_id":"","url":"https://api.github.com/users/Palethorn","html_url":"https://github.com/Palethorn","followers_url":"https://api.github.com/users/Palethorn/followers","following_url":"https://api.github.com/users/Palethorn/following{/other_user}","gists_url":"https://api.github.com/users/Palethorn/gists{/gist_id}","starred_url":"https://api.github.com/users/Palethorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Palethorn/subscriptions","organizations_url":"https://api.github.com/users/Palethorn/orgs","repos_url":"https://api.github.com/users/Palethorn/repos","events_url":"https://api.github.com/users/Palethorn/events{/privacy}","received_events_url":"https://api.github.com/users/Palethorn/received_events","type":"User","site_admin":false},"labels":[{"id":184113968,"url":"https://api.github.com/repos/api-platform/api-platform/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-09T09:59:43Z","updated_at":"2017-03-10T11:12:51Z","closed_at":null,"body":"Hello,\r\nI've been browsing the documentation and the source code, and couldn't find how to implement IriConverterInterface for custom IriConverter. If I implement a custom class, is there any way I could specify which one to use using config.yml?"},"comment":{"url":"https://api.github.com/repos/api-platform/api-platform/issues/comments/285643333","html_url":"https://github.com/api-platform/api-platform/issues/250#issuecomment-285643333","issue_url":"https://api.github.com/repos/api-platform/api-platform/issues/250","id":285643333,"user":{"login":"Palethorn","id":671689,"avatar_url":"https://avatars2.githubusercontent.com/u/671689?v=3","gravatar_id":"","url":"https://api.github.com/users/Palethorn","html_url":"https://github.com/Palethorn","followers_url":"https://api.github.com/users/Palethorn/followers","following_url":"https://api.github.com/users/Palethorn/following{/other_user}","gists_url":"https://api.github.com/users/Palethorn/gists{/gist_id}","starred_url":"https://api.github.com/users/Palethorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Palethorn/subscriptions","organizations_url":"https://api.github.com/users/Palethorn/orgs","repos_url":"https://api.github.com/users/Palethorn/repos","events_url":"https://api.github.com/users/Palethorn/events{/privacy}","received_events_url":"https://api.github.com/users/Palethorn/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T11:12:51Z","updated_at":"2017-03-10T11:12:51Z","body":"Got it to work:\r\n\r\n```\r\n# app/config/services.yml\r\nservices:\r\n    api_platform.iri_converter:\r\n        public: false\r\n        class: \"AppBundle\\\\Bridge\\\\Symfony\\\\Routing\\\\IriConverter\"\r\n        arguments: ['@api_platform.metadata.property.name_collection_factory', '@api_platform.metadata.property.metadata_factory', '@api_platform.item_data_provider', '@api_platform.route_name_resolver', '@api_platform.router', '@api_platform.property_accessor']\r\n        tags: [{ name: 'api_platform.iri_converter', id: 'api_platform.iri_converter' }]\r\n```\r\nThank you."}}
{"actor":{"display_login":"Palethorn"}}