{"action":"created","issue":{"url":"https://api.github.com/repos/domain-query-language/dql-server/issues/78","repository_url":"https://api.github.com/repos/domain-query-language/dql-server","labels_url":"https://api.github.com/repos/domain-query-language/dql-server/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/domain-query-language/dql-server/issues/78/comments","events_url":"https://api.github.com/repos/domain-query-language/dql-server/issues/78/events","html_url":"https://github.com/domain-query-language/dql-server/issues/78","id":155968771,"number":78,"title":"Problem: Turning our own query language into SQL is a turning out to be very difficult","user":{"login":"barryosull","id":325820,"avatar_url":"https://avatars.githubusercontent.com/u/325820?v=3","gravatar_id":"","url":"https://api.github.com/users/barryosull","html_url":"https://github.com/barryosull","followers_url":"https://api.github.com/users/barryosull/followers","following_url":"https://api.github.com/users/barryosull/following{/other_user}","gists_url":"https://api.github.com/users/barryosull/gists{/gist_id}","starred_url":"https://api.github.com/users/barryosull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryosull/subscriptions","organizations_url":"https://api.github.com/users/barryosull/orgs","repos_url":"https://api.github.com/users/barryosull/repos","events_url":"https://api.github.com/users/barryosull/events{/privacy}","received_events_url":"https://api.github.com/users/barryosull/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-20T13:56:12Z","updated_at":"2016-05-20T14:26:11Z","closed_at":null,"body":"Turning out DQL invariant queries into SQL is turning out to be very difficult. It would be a lot simpler if we could just write the statements as native SQL, then just execute that.\r\n\r\nLet's explore that concept.\r\n\r\nThe hard part is that most invariants do not use a database, they are only asking a question across the state of that particular aggregate, not the state across all aggregates.\r\n\r\nIf we were to do this, we'd have to write an interpreter to interpret the SQL statements that affect the aggregate."},"comment":{"url":"https://api.github.com/repos/domain-query-language/dql-server/issues/comments/220620347","html_url":"https://github.com/domain-query-language/dql-server/issues/78#issuecomment-220620347","issue_url":"https://api.github.com/repos/domain-query-language/dql-server/issues/78","id":220620347,"user":{"login":"barryosull","id":325820,"avatar_url":"https://avatars.githubusercontent.com/u/325820?v=3","gravatar_id":"","url":"https://api.github.com/users/barryosull","html_url":"https://github.com/barryosull","followers_url":"https://api.github.com/users/barryosull/followers","following_url":"https://api.github.com/users/barryosull/following{/other_user}","gists_url":"https://api.github.com/users/barryosull/gists{/gist_id}","starred_url":"https://api.github.com/users/barryosull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryosull/subscriptions","organizations_url":"https://api.github.com/users/barryosull/orgs","repos_url":"https://api.github.com/users/barryosull/repos","events_url":"https://api.github.com/users/barryosull/events{/privacy}","received_events_url":"https://api.github.com/users/barryosull/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T14:26:11Z","updated_at":"2016-05-20T14:26:11Z","body":"Ok, that actually simplifies things a lot. The from part is actually the select statement. The check part is performed outside of SQL."}}
{"actor":{"display_login":"barryosull"}}