{"action":"created","issue":{"url":"https://api.github.com/repos/cyclus/cyclus/issues/1110","labels_url":"https://api.github.com/repos/cyclus/cyclus/issues/1110/labels{/name}","comments_url":"https://api.github.com/repos/cyclus/cyclus/issues/1110/comments","events_url":"https://api.github.com/repos/cyclus/cyclus/issues/1110/events","html_url":"https://github.com/cyclus/cyclus/pull/1110","id":65712218,"number":1110,"title":"Add internal tag to cycpp. Modify derived_init tag behavior:","user":{"login":"rwcarlsen","id":1351242,"avatar_url":"https://avatars.githubusercontent.com/u/1351242?v=3","gravatar_id":"","url":"https://api.github.com/users/rwcarlsen","html_url":"https://github.com/rwcarlsen","followers_url":"https://api.github.com/users/rwcarlsen/followers","following_url":"https://api.github.com/users/rwcarlsen/following{/other_user}","gists_url":"https://api.github.com/users/rwcarlsen/gists{/gist_id}","starred_url":"https://api.github.com/users/rwcarlsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwcarlsen/subscriptions","organizations_url":"https://api.github.com/users/rwcarlsen/orgs","repos_url":"https://api.github.com/users/rwcarlsen/repos","events_url":"https://api.github.com/users/rwcarlsen/events{/privacy}","received_events_url":"https://api.github.com/users/rwcarlsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cyclus/cyclus/labels/Feature","name":"Feature","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cyclus/cyclus/milestones/32","html_url":"https://github.com/cyclus/cyclus/milestones/v1.4","labels_url":"https://api.github.com/repos/cyclus/cyclus/milestones/32/labels","id":1082340,"number":32,"title":"v1.4","description":"Tentatively set to be due the week before ANS","creator":{"login":"gidden","id":1392657,"avatar_url":"https://avatars.githubusercontent.com/u/1392657?v=3","gravatar_id":"","url":"https://api.github.com/users/gidden","html_url":"https://github.com/gidden","followers_url":"https://api.github.com/users/gidden/followers","following_url":"https://api.github.com/users/gidden/following{/other_user}","gists_url":"https://api.github.com/users/gidden/gists{/gist_id}","starred_url":"https://api.github.com/users/gidden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gidden/subscriptions","organizations_url":"https://api.github.com/users/gidden/orgs","repos_url":"https://api.github.com/users/gidden/repos","events_url":"https://api.github.com/users/gidden/events{/privacy}","received_events_url":"https://api.github.com/users/gidden/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":4,"state":"open","created_at":"2015-04-24T14:11:32Z","updated_at":"2015-05-21T20:08:58Z","due_on":"2015-06-01T05:00:00Z","closed_at":null},"comments":25,"created_at":"2015-04-01T15:29:58Z","updated_at":"2015-05-26T16:01:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cyclus/cyclus/pulls/1110","html_url":"https://github.com/cyclus/cyclus/pull/1110","diff_url":"https://github.com/cyclus/cyclus/pull/1110.diff","patch_url":"https://github.com/cyclus/cyclus/pull/1110.patch"},"body":"'internal' tag now makes state variables invisible in the xml schema, but\r\nstill persisted/loaded normally.  'internal' vars can have default values.\r\n'derived_init' vars now show up in the xml schema as optional and the\r\nderived_init value is overridden if a user specifies the value in the schema.\r\nIf a var is both internal and derived_init, then it is not in the schema but\r\ncan still have a default value specified."},"comment":{"url":"https://api.github.com/repos/cyclus/cyclus/issues/comments/105577278","html_url":"https://github.com/cyclus/cyclus/pull/1110#issuecomment-105577278","issue_url":"https://api.github.com/repos/cyclus/cyclus/issues/1110","id":105577278,"user":{"login":"rwcarlsen","id":1351242,"avatar_url":"https://avatars.githubusercontent.com/u/1351242?v=3","gravatar_id":"","url":"https://api.github.com/users/rwcarlsen","html_url":"https://github.com/rwcarlsen","followers_url":"https://api.github.com/users/rwcarlsen/followers","following_url":"https://api.github.com/users/rwcarlsen/following{/other_user}","gists_url":"https://api.github.com/users/rwcarlsen/gists{/gist_id}","starred_url":"https://api.github.com/users/rwcarlsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwcarlsen/subscriptions","organizations_url":"https://api.github.com/users/rwcarlsen/orgs","repos_url":"https://api.github.com/users/rwcarlsen/repos","events_url":"https://api.github.com/users/rwcarlsen/events{/privacy}","received_events_url":"https://api.github.com/users/rwcarlsen/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T16:01:15Z","updated_at":"2015-05-26T16:01:15Z","body":"In order to maintain orthogonality of the meanings of the annotations, that is the result.  The meanings and how they intersect is easier to understand if internal means \"not in schema\" except for when it means \"not in schema and with an implicit default value\".  And default is the way you make something optional in the schema except for internal.  And the current behavior was patterned after your excellent feedback in a comment farther up."}}