{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/orleans/issues/1531","repository_url":"https://api.github.com/repos/dotnet/orleans","labels_url":"https://api.github.com/repos/dotnet/orleans/issues/1531/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/orleans/issues/1531/comments","events_url":"https://api.github.com/repos/dotnet/orleans/issues/1531/events","html_url":"https://github.com/dotnet/orleans/issues/1531","id":138795489,"number":1531,"title":"Question: Returning grain state from grain's methods","user":{"login":"Eldar1205","id":5265591,"avatar_url":"https://avatars.githubusercontent.com/u/5265591?v=3","gravatar_id":"","url":"https://api.github.com/users/Eldar1205","html_url":"https://github.com/Eldar1205","followers_url":"https://api.github.com/users/Eldar1205/followers","following_url":"https://api.github.com/users/Eldar1205/following{/other_user}","gists_url":"https://api.github.com/users/Eldar1205/gists{/gist_id}","starred_url":"https://api.github.com/users/Eldar1205/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eldar1205/subscriptions","organizations_url":"https://api.github.com/users/Eldar1205/orgs","repos_url":"https://api.github.com/users/Eldar1205/repos","events_url":"https://api.github.com/users/Eldar1205/events{/privacy}","received_events_url":"https://api.github.com/users/Eldar1205/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-06T14:31:31Z","updated_at":"2016-03-06T14:31:31Z","closed_at":null,"body":"I have a grain contract `ICheckpointGrain` and I want it to have get/set methods for `Checkpoint` object that inherits `GrainState` and used as persistent state for `CheckpointGrain` implementing `ICheckpointGrain`. Should I separate between the object exposed in the grain's contract and the persistent state object, or there's no design/technical issue with exposing persistent state from grains?"}}