{"action":"created","issue":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/3755","labels_url":"https://api.github.com/repos/Sylius/Sylius/issues/3755/labels{/name}","comments_url":"https://api.github.com/repos/Sylius/Sylius/issues/3755/comments","events_url":"https://api.github.com/repos/Sylius/Sylius/issues/3755/events","html_url":"https://github.com/Sylius/Sylius/pull/3755","id":123227745,"number":3755,"title":"[Product] added availableTo parameter","user":{"login":"starspire","id":8075738,"avatar_url":"https://avatars.githubusercontent.com/u/8075738?v=3","gravatar_id":"","url":"https://api.github.com/users/starspire","html_url":"https://github.com/starspire","followers_url":"https://api.github.com/users/starspire/followers","following_url":"https://api.github.com/users/starspire/following{/other_user}","gists_url":"https://api.github.com/users/starspire/gists{/gist_id}","starred_url":"https://api.github.com/users/starspire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starspire/subscriptions","organizations_url":"https://api.github.com/users/starspire/orgs","repos_url":"https://api.github.com/users/starspire/repos","events_url":"https://api.github.com/users/starspire/events{/privacy}","received_events_url":"https://api.github.com/users/starspire/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Sylius/Sylius/labels/New%20Feature","name":"New Feature","color":"64CF1D"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-21T07:58:40Z","updated_at":"2015-12-21T16:00:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Sylius/Sylius/pulls/3755","html_url":"https://github.com/Sylius/Sylius/pull/3755","diff_url":"https://github.com/Sylius/Sylius/pull/3755.diff","patch_url":"https://github.com/Sylius/Sylius/pull/3755.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Fixed tickets | \r\n| License       | MIT\r\n| Doc PR        | \r\n\r\nSometimes except availableOn product parameter we need also availableTo one. This is especially usefull when You selling something like concert or training tickets which events take place at particular day and it is useless to selling them after that day. When You leave this parameter blank nothing new happens but when You set a date, Sylius will validate it with availableOn in isAvailable method.\r\n\r\nThis is my first bigger commit to Sylius so any tips how to improve my code are highly appreciated. Hope it will be usefull for community."},"comment":{"url":"https://api.github.com/repos/Sylius/Sylius/issues/comments/166340962","html_url":"https://github.com/Sylius/Sylius/pull/3755#issuecomment-166340962","issue_url":"https://api.github.com/repos/Sylius/Sylius/issues/3755","id":166340962,"user":{"login":"aramalipoor","id":1164589,"avatar_url":"https://avatars.githubusercontent.com/u/1164589?v=3","gravatar_id":"","url":"https://api.github.com/users/aramalipoor","html_url":"https://github.com/aramalipoor","followers_url":"https://api.github.com/users/aramalipoor/followers","following_url":"https://api.github.com/users/aramalipoor/following{/other_user}","gists_url":"https://api.github.com/users/aramalipoor/gists{/gist_id}","starred_url":"https://api.github.com/users/aramalipoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aramalipoor/subscriptions","organizations_url":"https://api.github.com/users/aramalipoor/orgs","repos_url":"https://api.github.com/users/aramalipoor/repos","events_url":"https://api.github.com/users/aramalipoor/events{/privacy}","received_events_url":"https://api.github.com/users/aramalipoor/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T16:00:55Z","updated_at":"2015-12-21T16:00:55Z","body":"@pamil Is it possible to have a `DateRange` kind of thing in only **one** field? That would be a useful thing if possbile ;)"}}