{"action":"opened","issue":{"url":"https://api.github.com/repos/threatify/arango-orm/issues/42","repository_url":"https://api.github.com/repos/threatify/arango-orm","labels_url":"https://api.github.com/repos/threatify/arango-orm/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/threatify/arango-orm/issues/42/comments","events_url":"https://api.github.com/repos/threatify/arango-orm/issues/42/events","html_url":"https://github.com/threatify/arango-orm/issues/42","id":357804353,"node_id":"MDU6SXNzdWUzNTc4MDQzNTM=","number":42,"title":"Is it still possible to declare Schema's separate from domain classes?","user":{"login":"GamalielMasters","id":20425600,"node_id":"MDQ6VXNlcjIwNDI1NjAw","avatar_url":"https://avatars1.githubusercontent.com/u/20425600?v=4","gravatar_id":"","url":"https://api.github.com/users/GamalielMasters","html_url":"https://github.com/GamalielMasters","followers_url":"https://api.github.com/users/GamalielMasters/followers","following_url":"https://api.github.com/users/GamalielMasters/following{/other_user}","gists_url":"https://api.github.com/users/GamalielMasters/gists{/gist_id}","starred_url":"https://api.github.com/users/GamalielMasters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GamalielMasters/subscriptions","organizations_url":"https://api.github.com/users/GamalielMasters/orgs","repos_url":"https://api.github.com/users/GamalielMasters/repos","events_url":"https://api.github.com/users/GamalielMasters/events{/privacy}","received_events_url":"https://api.github.com/users/GamalielMasters/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-06T19:59:57Z","updated_at":"2018-09-06T19:59:57Z","closed_at":null,"author_association":"NONE","body":"I see in #17 you changed to the SQLAlchemy \"declarative style\" where collections and fields are referenced directly in a class derived from Collection.\r\n\r\nIs it still possible to operate with the Schema separated from the user class in a style more like SQLAlchemy's \"classic\" or \"mapper\" syntax where user classes are independent and not derived from any arango-orm classes but are instead associated with the persistence system using a mapper concept (I would assume in this case, a Marshmallow Schema)?\r\n\r\nAlthough in many cases, the declarative-in-class style has many benefits, I also believe that there are also benefits to keeping your persistence layer out of your domain classes, and the mapper style provides this."}}
{"actor":{"display_login":"GamalielMasters"}}