{"action":"opened","issue":{"url":"https://api.github.com/repos/diamond-org/flask-diamond/issues/9","labels_url":"https://api.github.com/repos/diamond-org/flask-diamond/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/diamond-org/flask-diamond/issues/9/comments","events_url":"https://api.github.com/repos/diamond-org/flask-diamond/issues/9/events","html_url":"https://github.com/diamond-org/flask-diamond/issues/9","id":124263426,"number":9,"title":"Marshmellow-SQLAlchemy Integration","user":{"login":"msarfati","id":8856203,"avatar_url":"https://avatars.githubusercontent.com/u/8856203?v=3","gravatar_id":"","url":"https://api.github.com/users/msarfati","html_url":"https://github.com/msarfati","followers_url":"https://api.github.com/users/msarfati/followers","following_url":"https://api.github.com/users/msarfati/following{/other_user}","gists_url":"https://api.github.com/users/msarfati/gists{/gist_id}","starred_url":"https://api.github.com/users/msarfati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msarfati/subscriptions","organizations_url":"https://api.github.com/users/msarfati/orgs","repos_url":"https://api.github.com/users/msarfati/repos","events_url":"https://api.github.com/users/msarfati/events{/privacy}","received_events_url":"https://api.github.com/users/msarfati/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-29T20:23:13Z","updated_at":"2015-12-29T20:23:13Z","closed_at":null,"body":"https://flask-marshmallow.readthedocs.org/en/latest/ -- scroll down to **Optional Flask-SQLAlchemy Integration**\r\n\r\nBy implementing this into the Diamond ecosystem, downstream developers will no longer have to maintain a schema separate from the model, and JSON serialization will be more efficient.\r\n\r\nI was trying to implement this at GYI, but it cuts too deeply into the Diamond ecosystem -- utils.mxins classmethods would have to be updated, the component initialization order may have to be changed (SQLAlchemy must be initialized before Marshmallow), and other places I imagine."}}