{"action":"created","comment":{"url":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/comments/238088641","pull_request_review_id":180551470,"id":238088641,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODA4ODY0MQ==","diff_hunk":"@@ -0,0 +1,242 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using AgentFramework.Core.Utils;\n+\n+namespace AgentFramework.Core.Models.Records.Search\n+{\n+    /// <summary>\n+    /// Wallet query builder\n+    /// </summary>\n+    public static class SearchQuery\n+    {\n+        /// <summary>\n+        /// Empty query\n+        /// </summary>\n+        public static ISearchQuery Empty = new SearchExpression<string>();\n+\n+        /// <summary>\n+        /// Combine the specified queries with AND operator\n+        /// </summary>\n+        /// <returns>The and.</returns>\n+        /// <param name=\"queries\">Queries.</param>\n+        public static ISearchQuery And(params ISearchQuery[] queries) => new AndSubquery(queries);","path":"src/AgentFramework.Core/Models/Records/Search/SearchQuery.cs","position":23,"original_position":23,"commit_id":"a6337329531e1896f03713b9495f6a25ac70b1dd","original_commit_id":"a6337329531e1896f03713b9495f6a25ac70b1dd","user":{"login":"tplooker","id":15972525,"node_id":"MDQ6VXNlcjE1OTcyNTI1","avatar_url":"https://avatars3.githubusercontent.com/u/15972525?v=4","gravatar_id":"","url":"https://api.github.com/users/tplooker","html_url":"https://github.com/tplooker","followers_url":"https://api.github.com/users/tplooker/followers","following_url":"https://api.github.com/users/tplooker/following{/other_user}","gists_url":"https://api.github.com/users/tplooker/gists{/gist_id}","starred_url":"https://api.github.com/users/tplooker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tplooker/subscriptions","organizations_url":"https://api.github.com/users/tplooker/orgs","repos_url":"https://api.github.com/users/tplooker/repos","events_url":"https://api.github.com/users/tplooker/events{/privacy}","received_events_url":"https://api.github.com/users/tplooker/received_events","type":"User","site_admin":false},"body":"Wonder if we could provide an operators implementation for this? \r\n\r\nhttps://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/overloadable-operators\r\nhttps://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/operator ","created_at":"2018-12-02T08:09:53Z","updated_at":"2018-12-02T08:09:54Z","html_url":"https://github.com/streetcred-id/agent-framework/pull/66#discussion_r238088641","pull_request_url":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/66","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/comments/238088641"},"html":{"href":"https://github.com/streetcred-id/agent-framework/pull/66#discussion_r238088641"},"pull_request":{"href":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/66","id":235200201,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MjAwMjAx","html_url":"https://github.com/streetcred-id/agent-framework/pull/66","diff_url":"https://github.com/streetcred-id/agent-framework/pull/66.diff","patch_url":"https://github.com/streetcred-id/agent-framework/pull/66.patch","issue_url":"https://api.github.com/repos/streetcred-id/agent-framework/issues/66","number":66,"state":"open","locked":false,"title":"Support for WQL expressions","user":{"login":"tmarkovski","id":1280118,"node_id":"MDQ6VXNlcjEyODAxMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/1280118?v=4","gravatar_id":"","url":"https://api.github.com/users/tmarkovski","html_url":"https://github.com/tmarkovski","followers_url":"https://api.github.com/users/tmarkovski/followers","following_url":"https://api.github.com/users/tmarkovski/following{/other_user}","gists_url":"https://api.github.com/users/tmarkovski/gists{/gist_id}","starred_url":"https://api.github.com/users/tmarkovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmarkovski/subscriptions","organizations_url":"https://api.github.com/users/tmarkovski/orgs","repos_url":"https://api.github.com/users/tmarkovski/repos","events_url":"https://api.github.com/users/tmarkovski/events{/privacy}","received_events_url":"https://api.github.com/users/tmarkovski/received_events","type":"User","site_admin":false},"body":"#### Short description of what this resolves:\r\nAdds support for WQL in search record services. Implementation is based on https://github.com/hyperledger/indy-sdk/tree/master/doc/design/003-wallet-storage","created_at":"2018-12-01T15:44:04Z","updated_at":"2018-12-02T08:09:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59c5bb62888d7dff1d9ecefd8e0bd28dcf0cac44","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/66/commits","review_comments_url":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/66/comments","review_comment_url":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/streetcred-id/agent-framework/issues/66/comments","statuses_url":"https://api.github.com/repos/streetcred-id/agent-framework/statuses/a6337329531e1896f03713b9495f6a25ac70b1dd","head":{"label":"streetcred-id:wql","ref":"wql","sha":"a6337329531e1896f03713b9495f6a25ac70b1dd","user":{"login":"streetcred-id","id":38530810,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NTMwODEw","avatar_url":"https://avatars2.githubusercontent.com/u/38530810?v=4","gravatar_id":"","url":"https://api.github.com/users/streetcred-id","html_url":"https://github.com/streetcred-id","followers_url":"https://api.github.com/users/streetcred-id/followers","following_url":"https://api.github.com/users/streetcred-id/following{/other_user}","gists_url":"https://api.github.com/users/streetcred-id/gists{/gist_id}","starred_url":"https://api.github.com/users/streetcred-id/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/streetcred-id/subscriptions","organizations_url":"https://api.github.com/users/streetcred-id/orgs","repos_url":"https://api.github.com/users/streetcred-id/repos","events_url":"https://api.github.com/users/streetcred-id/events{/privacy}","received_events_url":"https://api.github.com/users/streetcred-id/received_events","type":"Organization","site_admin":false},"repo":{"id":145896313,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4OTYzMTM=","name":"agent-framework","full_name":"streetcred-id/agent-framework","private":false,"owner":{"login":"streetcred-id","id":38530810,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NTMwODEw","avatar_url":"https://avatars2.githubusercontent.com/u/38530810?v=4","gravatar_id":"","url":"https://api.github.com/users/streetcred-id","html_url":"https://github.com/streetcred-id","followers_url":"https://api.github.com/users/streetcred-id/followers","following_url":"https://api.github.com/users/streetcred-id/following{/other_user}","gists_url":"https://api.github.com/users/streetcred-id/gists{/gist_id}","starred_url":"https://api.github.com/users/streetcred-id/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/streetcred-id/subscriptions","organizations_url":"https://api.github.com/users/streetcred-id/orgs","repos_url":"https://api.github.com/users/streetcred-id/repos","events_url":"https://api.github.com/users/streetcred-id/events{/privacy}","received_events_url":"https://api.github.com/users/streetcred-id/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/streetcred-id/agent-framework","description":"Agent Framework for building Sovrin agent services w/ .NET Core","fork":false,"url":"https://api.github.com/repos/streetcred-id/agent-framework","forks_url":"https://api.github.com/repos/streetcred-id/agent-framework/forks","keys_url":"https://api.github.com/repos/streetcred-id/agent-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/streetcred-id/agent-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/streetcred-id/agent-framework/teams","hooks_url":"https://api.github.com/repos/streetcred-id/agent-framework/hooks","issue_events_url":"https://api.github.com/repos/streetcred-id/agent-framework/issues/events{/number}","events_url":"https://api.github.com/repos/streetcred-id/agent-framework/events","assignees_url":"https://api.github.com/repos/streetcred-id/agent-framework/assignees{/user}","branches_url":"https://api.github.com/repos/streetcred-id/agent-framework/branches{/branch}","tags_url":"https://api.github.com/repos/streetcred-id/agent-framework/tags","blobs_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/streetcred-id/agent-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/streetcred-id/agent-framework/languages","stargazers_url":"https://api.github.com/repos/streetcred-id/agent-framework/stargazers","contributors_url":"https://api.github.com/repos/streetcred-id/agent-framework/contributors","subscribers_url":"https://api.github.com/repos/streetcred-id/agent-framework/subscribers","subscription_url":"https://api.github.com/repos/streetcred-id/agent-framework/subscription","commits_url":"https://api.github.com/repos/streetcred-id/agent-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/streetcred-id/agent-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/streetcred-id/agent-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/streetcred-id/agent-framework/contents/{+path}","compare_url":"https://api.github.com/repos/streetcred-id/agent-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/streetcred-id/agent-framework/merges","archive_url":"https://api.github.com/repos/streetcred-id/agent-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/streetcred-id/agent-framework/downloads","issues_url":"https://api.github.com/repos/streetcred-id/agent-framework/issues{/number}","pulls_url":"https://api.github.com/repos/streetcred-id/agent-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/streetcred-id/agent-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/streetcred-id/agent-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/streetcred-id/agent-framework/labels{/name}","releases_url":"https://api.github.com/repos/streetcred-id/agent-framework/releases{/id}","deployments_url":"https://api.github.com/repos/streetcred-id/agent-framework/deployments","created_at":"2018-08-23T19:09:36Z","updated_at":"2018-11-30T19:05:03Z","pushed_at":"2018-12-01T15:44:05Z","git_url":"git://github.com/streetcred-id/agent-framework.git","ssh_url":"git@github.com:streetcred-id/agent-framework.git","clone_url":"https://github.com/streetcred-id/agent-framework.git","svn_url":"https://github.com/streetcred-id/agent-framework","homepage":"","size":95356,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":7,"watchers":2,"default_branch":"master"}},"base":{"label":"streetcred-id:master","ref":"master","sha":"a42b412c79546a92215ab1d64eb69c00762c5a95","user":{"login":"streetcred-id","id":38530810,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NTMwODEw","avatar_url":"https://avatars2.githubusercontent.com/u/38530810?v=4","gravatar_id":"","url":"https://api.github.com/users/streetcred-id","html_url":"https://github.com/streetcred-id","followers_url":"https://api.github.com/users/streetcred-id/followers","following_url":"https://api.github.com/users/streetcred-id/following{/other_user}","gists_url":"https://api.github.com/users/streetcred-id/gists{/gist_id}","starred_url":"https://api.github.com/users/streetcred-id/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/streetcred-id/subscriptions","organizations_url":"https://api.github.com/users/streetcred-id/orgs","repos_url":"https://api.github.com/users/streetcred-id/repos","events_url":"https://api.github.com/users/streetcred-id/events{/privacy}","received_events_url":"https://api.github.com/users/streetcred-id/received_events","type":"Organization","site_admin":false},"repo":{"id":145896313,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4OTYzMTM=","name":"agent-framework","full_name":"streetcred-id/agent-framework","private":false,"owner":{"login":"streetcred-id","id":38530810,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NTMwODEw","avatar_url":"https://avatars2.githubusercontent.com/u/38530810?v=4","gravatar_id":"","url":"https://api.github.com/users/streetcred-id","html_url":"https://github.com/streetcred-id","followers_url":"https://api.github.com/users/streetcred-id/followers","following_url":"https://api.github.com/users/streetcred-id/following{/other_user}","gists_url":"https://api.github.com/users/streetcred-id/gists{/gist_id}","starred_url":"https://api.github.com/users/streetcred-id/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/streetcred-id/subscriptions","organizations_url":"https://api.github.com/users/streetcred-id/orgs","repos_url":"https://api.github.com/users/streetcred-id/repos","events_url":"https://api.github.com/users/streetcred-id/events{/privacy}","received_events_url":"https://api.github.com/users/streetcred-id/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/streetcred-id/agent-framework","description":"Agent Framework for building Sovrin agent services w/ .NET Core","fork":false,"url":"https://api.github.com/repos/streetcred-id/agent-framework","forks_url":"https://api.github.com/repos/streetcred-id/agent-framework/forks","keys_url":"https://api.github.com/repos/streetcred-id/agent-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/streetcred-id/agent-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/streetcred-id/agent-framework/teams","hooks_url":"https://api.github.com/repos/streetcred-id/agent-framework/hooks","issue_events_url":"https://api.github.com/repos/streetcred-id/agent-framework/issues/events{/number}","events_url":"https://api.github.com/repos/streetcred-id/agent-framework/events","assignees_url":"https://api.github.com/repos/streetcred-id/agent-framework/assignees{/user}","branches_url":"https://api.github.com/repos/streetcred-id/agent-framework/branches{/branch}","tags_url":"https://api.github.com/repos/streetcred-id/agent-framework/tags","blobs_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/streetcred-id/agent-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/streetcred-id/agent-framework/languages","stargazers_url":"https://api.github.com/repos/streetcred-id/agent-framework/stargazers","contributors_url":"https://api.github.com/repos/streetcred-id/agent-framework/contributors","subscribers_url":"https://api.github.com/repos/streetcred-id/agent-framework/subscribers","subscription_url":"https://api.github.com/repos/streetcred-id/agent-framework/subscription","commits_url":"https://api.github.com/repos/streetcred-id/agent-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/streetcred-id/agent-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/streetcred-id/agent-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/streetcred-id/agent-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/streetcred-id/agent-framework/contents/{+path}","compare_url":"https://api.github.com/repos/streetcred-id/agent-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/streetcred-id/agent-framework/merges","archive_url":"https://api.github.com/repos/streetcred-id/agent-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/streetcred-id/agent-framework/downloads","issues_url":"https://api.github.com/repos/streetcred-id/agent-framework/issues{/number}","pulls_url":"https://api.github.com/repos/streetcred-id/agent-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/streetcred-id/agent-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/streetcred-id/agent-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/streetcred-id/agent-framework/labels{/name}","releases_url":"https://api.github.com/repos/streetcred-id/agent-framework/releases{/id}","deployments_url":"https://api.github.com/repos/streetcred-id/agent-framework/deployments","created_at":"2018-08-23T19:09:36Z","updated_at":"2018-11-30T19:05:03Z","pushed_at":"2018-12-01T15:44:05Z","git_url":"git://github.com/streetcred-id/agent-framework.git","ssh_url":"git@github.com:streetcred-id/agent-framework.git","clone_url":"https://github.com/streetcred-id/agent-framework.git","svn_url":"https://github.com/streetcred-id/agent-framework","homepage":"","size":95356,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/66"},"html":{"href":"https://github.com/streetcred-id/agent-framework/pull/66"},"issue":{"href":"https://api.github.com/repos/streetcred-id/agent-framework/issues/66"},"comments":{"href":"https://api.github.com/repos/streetcred-id/agent-framework/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/streetcred-id/agent-framework/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/streetcred-id/agent-framework/statuses/a6337329531e1896f03713b9495f6a25ac70b1dd"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"tplooker"}}