{"action":"created","issue":{"url":"https://api.github.com/repos/launchdarkly/go-client/issues/117","repository_url":"https://api.github.com/repos/launchdarkly/go-client","labels_url":"https://api.github.com/repos/launchdarkly/go-client/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/launchdarkly/go-client/issues/117/comments","events_url":"https://api.github.com/repos/launchdarkly/go-client/issues/117/events","html_url":"https://github.com/launchdarkly/go-client/pull/117","id":320058628,"number":117,"title":"Provide list of supported VersionedDataKind's","user":{"login":"mlafeldt","id":158074,"avatar_url":"https://avatars3.githubusercontent.com/u/158074?v=4","gravatar_id":"","url":"https://api.github.com/users/mlafeldt","html_url":"https://github.com/mlafeldt","followers_url":"https://api.github.com/users/mlafeldt/followers","following_url":"https://api.github.com/users/mlafeldt/following{/other_user}","gists_url":"https://api.github.com/users/mlafeldt/gists{/gist_id}","starred_url":"https://api.github.com/users/mlafeldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlafeldt/subscriptions","organizations_url":"https://api.github.com/users/mlafeldt/orgs","repos_url":"https://api.github.com/users/mlafeldt/repos","events_url":"https://api.github.com/users/mlafeldt/events{/privacy}","received_events_url":"https://api.github.com/users/mlafeldt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T19:57:19Z","updated_at":"2018-05-03T20:02:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/launchdarkly/go-client/pulls/117","html_url":"https://github.com/launchdarkly/go-client/pull/117","diff_url":"https://github.com/launchdarkly/go-client/pull/117.diff","patch_url":"https://github.com/launchdarkly/go-client/pull/117.patch"},"body":"In order to tell feature stores what data to expect.\r\n\r\nAs mentioned in another PR, I'm currently working on a DynamoDB-backed feature store. While development, I've noticed that there's currently no direct way for the store to know at compile time what kind of data to persist. This makes it difficult to, for example, check that there's DynamoDB table for feature flags or another one for segments before consuming any data from the API at runtime."},"comment":{"url":"https://api.github.com/repos/launchdarkly/go-client/issues/comments/386418678","html_url":"https://github.com/launchdarkly/go-client/pull/117#issuecomment-386418678","issue_url":"https://api.github.com/repos/launchdarkly/go-client/issues/117","id":386418678,"user":{"login":"eli-darkly","id":35503443,"avatar_url":"https://avatars0.githubusercontent.com/u/35503443?v=4","gravatar_id":"","url":"https://api.github.com/users/eli-darkly","html_url":"https://github.com/eli-darkly","followers_url":"https://api.github.com/users/eli-darkly/followers","following_url":"https://api.github.com/users/eli-darkly/following{/other_user}","gists_url":"https://api.github.com/users/eli-darkly/gists{/gist_id}","starred_url":"https://api.github.com/users/eli-darkly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eli-darkly/subscriptions","organizations_url":"https://api.github.com/users/eli-darkly/orgs","repos_url":"https://api.github.com/users/eli-darkly/repos","events_url":"https://api.github.com/users/eli-darkly/events{/privacy}","received_events_url":"https://api.github.com/users/eli-darkly/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T20:02:23Z","updated_at":"2018-05-03T20:02:23Z","author_association":"CONTRIBUTOR","body":"Well... we deliberately did not do this, because we wanted any implementation of `FeatureStore` to remain correct even if we add a new type in the future (or add new properties to an existing type). Therefore, the `VersionedDataKind` is supposed to provide all the necessary information about a type at runtime. The assumption is that the store will use reflection-based mechanisms such as `json.Marshal`. Can you say a bit more about why that's not a workable approach for you?"}}
{"actor":{"display_login":"eli-darkly"}}