{"action":"created","issue":{"url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/81","repository_url":"https://api.github.com/repos/rdfjs/representation-task-force","labels_url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/81/comments","events_url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/81/events","html_url":"https://github.com/rdfjs/representation-task-force/issues/81","id":170871095,"number":81,"title":"immutable objects","user":{"login":"bergos","id":626142,"avatar_url":"https://avatars.githubusercontent.com/u/626142?v=3","gravatar_id":"","url":"https://api.github.com/users/bergos","html_url":"https://github.com/bergos","followers_url":"https://api.github.com/users/bergos/followers","following_url":"https://api.github.com/users/bergos/following{/other_user}","gists_url":"https://api.github.com/users/bergos/gists{/gist_id}","starred_url":"https://api.github.com/users/bergos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergos/subscriptions","organizations_url":"https://api.github.com/users/bergos/orgs","repos_url":"https://api.github.com/users/bergos/repos","events_url":"https://api.github.com/users/bergos/events{/privacy}","received_events_url":"https://api.github.com/users/bergos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-12T13:27:51Z","updated_at":"2016-08-15T15:03:54Z","closed_at":null,"body":"Are objects created by the `DataFactory` immutable? How should we write that in the spec? I think we said we don't define the properties read-only to avoid forcing the usage of `Object.defineProperty` in the implementations.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/comments/239825876","html_url":"https://github.com/rdfjs/representation-task-force/issues/81#issuecomment-239825876","issue_url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/81","id":239825876,"user":{"login":"dmitrizagidulin","id":947005,"avatar_url":"https://avatars.githubusercontent.com/u/947005?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrizagidulin","html_url":"https://github.com/dmitrizagidulin","followers_url":"https://api.github.com/users/dmitrizagidulin/followers","following_url":"https://api.github.com/users/dmitrizagidulin/following{/other_user}","gists_url":"https://api.github.com/users/dmitrizagidulin/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrizagidulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrizagidulin/subscriptions","organizations_url":"https://api.github.com/users/dmitrizagidulin/orgs","repos_url":"https://api.github.com/users/dmitrizagidulin/repos","events_url":"https://api.github.com/users/dmitrizagidulin/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrizagidulin/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T15:03:54Z","updated_at":"2016-08-15T15:03:54Z","body":"I agree with the reasoning that objects should be immutable. I do think that if we add that to the spec, though, we also need to define (or at least discuss, in the specs) a way to update term values in an immutable fashion. (Meaning, the usual functional programming style of doing something like `Term .fromTerm( oldTerm )` or `Term .newTerm( oldTerm )`, which would return a copy of the old term, with the value changed, but with everything else remaining the same (like the language and datatype of a literal), and with indexes updated accordingly)."}}
{"actor":{"display_login":"dmitrizagidulin"}}