payload: {"action":"created","comment":{"url":"https://api.github.com/repos/npgsql/efcore.pg/pulls/comments/337941446","pull_request_review_id":305741097,"id":337941446,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzNzk0MTQ0Ng==","diff_hunk":"@@ -0,0 +1,57 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+\n+using Microsoft.Extensions.DependencyInjection;\n+\n+using Microsoft.EntityFrameworkCore;\n+using Microsoft.EntityFrameworkCore.Infrastructure;\n+using Microsoft.EntityFrameworkCore.Query;\n+\n+using Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal;\n+\n+namespace Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal\n+{\n+    public class NpgsqlTrgmOptionsExtension : IDbContextOptionsExtension\n+    {\n+        public DbContextOptionsExtensionInfo Info => new ExtensionInfo(this);\n+\n+        public virtual void ApplyServices(IServiceCollection services)\n+        {\n+            services.AddEntityFrameworkNpgsqlTrgm();\n+        }","path":"src/EFCore.PG.Trgm/Infrastructure/Internal/NpgsqlTrgmOptionsExtension.cs","position":22,"original_position":22,"commit_id":"e8fe0c16d743a79c6788a0c7c696ace487cf10de","original_commit_id":"e8fe0c16d743a79c6788a0c7c696ace487cf10de","user":{"login":"YohDeadfall","id":10694013,"node_id":"MDQ6VXNlcjEwNjk0MDEz","avatar_url":"https://avatars0.githubusercontent.com/u/10694013?v=4","gravatar_id":"","url":"https://api.github.com/users/YohDeadfall","html_url":"https://github.com/YohDeadfall","followers_url":"https://api.github.com/users/YohDeadfall/followers","following_url":"https://api.github.com/users/YohDeadfall/following{/other_user}","gists_url":"https://api.github.com/users/YohDeadfall/gists{/gist_id}","starred_url":"https://api.github.com/users/YohDeadfall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YohDeadfall/subscriptions","organizations_url":"https://api.github.com/users/YohDeadfall/orgs","repos_url":"https://api.github.com/users/YohDeadfall/repos","events_url":"https://api.github.com/users/YohDeadfall/events{/privacy}","received_events_url":"https://api.github.com/users/YohDeadfall/received_events","type":"User","site_admin":false},"body":"nit: No need in braces since it's an one liner (:","created_at":"2019-10-23T09:28:33Z","updated_at":"2019-10-23T09:42:32Z","html_url":"https://github.com/npgsql/efcore.pg/pull/1085#discussion_r337941446","pull_request_url":"https://api.github.com/repos/npgsql/efcore.pg/pulls/1085","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/npgsql/efcore.pg/pulls/comments/337941446"},"html":{"href":"https://github.com/npgsql/efcore.pg/pull/1085#discussion_r337941446"},"pull_request":{"href":"https://api.github.com/repos/npgsql/efcore.pg/pulls/1085"}}},"pull_request":{"url":"https://api.github.com/repos/npgsql/efcore.pg/pulls/1085","id":330630960,"node_id":"MDExOlB1bGxSZXF1ZXN0MzMwNjMwOTYw","html_url":"https://github.com/npgsql/efcore.pg/pull/1085","diff_url":"https://github.com/npgsql/efcore.pg/pull/1085.diff","patch_url":"https://github.com/npgsql/efcore.pg/pull/1085.patch","issue_url":"https://api.github.com/repos/npgsql/efcore.pg/issues/1085","number":1085,"state":"open","locked":false,"title":"Added pg_trgm module plugin","user":{"login":"ins0mniaque","id":206899,"node_id":"MDQ6VXNlcjIwNjg5OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/206899?v=4","gravatar_id":"","url":"https://api.github.com/users/ins0mniaque","html_url":"https://github.com/ins0mniaque","followers_url":"https://api.github.com/users/ins0mniaque/followers","following_url":"https://api.github.com/users/ins0mniaque/following{/other_user}","gists_url":"https://api.github.com/users/ins0mniaque/gists{/gist_id}","starred_url":"https://api.github.com/users/ins0mniaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ins0mniaque/subscriptions","organizations_url":"https://api.github.com/users/ins0mniaque/orgs","repos_url":"https://api.github.com/users/ins0mniaque/repos","events_url":"https://api.github.com/users/ins0mniaque/events{/privacy}","received_events_url":"https://api.github.com/users/ins0mniaque/received_events","type":"User","site_admin":false},"body":"As discussed in issue #897, this adds a plugin for the pg_trgm module published as Npgsql.EntityFrameworkCore.PostgreSQL.Trgm, which can be used by calling UseTrgm() on NpgsqlDbContextOptionsBuilder.\r\n\r\nBecause I don't have ReSharper, the code is missing ReSharper comments and JetBrains code annotations. I could try to add them by copying another plugin; but someone with ReSharper would be better suited to do it.","created_at":"2019-10-21T19:17:05Z","updated_at":"2019-10-23T09:42:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"160d1348526bb3a090624f0c50c5fb63f3a5a9a6","assignee":null,"assignees":[],"requested_reviewers":[{"login":"roji","id":1862641,"node_id":"MDQ6VXNlcjE4NjI2NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/1862641?v=4","gravatar_id":"","url":"https://api.github.com/users/roji","html_url":"https://github.com/roji","followers_url":"https://api.github.com/users/roji/followers","following_url":"https://api.github.com/users/roji/following{/other_user}","gists_url":"https://api.github.com/users/roji/gists{/gist_id}","starred_url":"https://api.github.com/users/roji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roji/subscriptions","organizations_url":"https://api.github.com/users/roji/orgs","repos_url":"https://api.github.com/users/roji/repos","events_url":"https://api.github.com/users/roji/events{/privacy}","received_events_url":"https://api.github.com/users/roji/received_events","type":"User","site_admin":false},{"login":"austindrenski","id":21338699,"node_id":"MDQ6VXNlcjIxMzM4Njk5","avatar_url":"https://avatars3.githubusercontent.com/u/21338699?v=4","gravatar_id":"","url":"https://api.github.com/users/austindrenski","html_url":"https://github.com/austindrenski","followers_url":"https://api.github.com/users/austindrenski/followers","following_url":"https://api.github.com/users/austindrenski/following{/other_user}","gists_url":"https://api.github.com/users/austindrenski/gists{/gist_id}","starred_url":"https://api.github.com/users/austindrenski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/austindrenski/subscriptions","organizations_url":"https://api.github.com/users/austindrenski/orgs","repos_url":"https://api.github.com/users/austindrenski/repos","events_url":"https://api.github.com/users/austindrenski/events{/privacy}","received_events_url":"https://api.github.com/users/austindrenski/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/npgsql/efcore.pg/pulls/1085/commits","review_comments_url":"https://api.github.com/repos/npgsql/efcore.pg/pulls/1085/comments","review_comment_url":"https://api.github.com/repos/npgsql/efcore.pg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/npgsql/efcore.pg/issues/1085/comments","statuses_url":"https://api.github.com/repos/npgsql/efcore.pg/statuses/e8fe0c16d743a79c6788a0c7c696ace487cf10de","head":{"label":"ins0mniaque:trgm-plugin","ref":"trgm-plugin","sha":"e8fe0c16d743a79c6788a0c7c696ace487cf10de","user":{"login":"ins0mniaque","id":206899,"node_id":"MDQ6VXNlcjIwNjg5OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/206899?v=4","gravatar_id":"","url":"https://api.github.com/users/ins0mniaque","html_url":"https://github.com/ins0mniaque","followers_url":"https://api.github.com/users/ins0mniaque/followers","following_url":"https://api.github.com/users/ins0mniaque/following{/other_user}","gists_url":"https://api.github.com/users/ins0mniaque/gists{/gist_id}","starred_url":"https://api.github.com/users/ins0mniaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ins0mniaque/subscriptions","organizations_url":"https://api.github.com/users/ins0mniaque/orgs","repos_url":"https://api.github.com/users/ins0mniaque/repos","events_url":"https://api.github.com/users/ins0mniaque/events{/privacy}","received_events_url":"https://api.github.com/users/ins0mniaque/received_events","type":"User","site_admin":false},"repo":{"id":216595849,"node_id":"MDEwOlJlcG9zaXRvcnkyMTY1OTU4NDk=","name":"efcore.pg","full_name":"ins0mniaque/efcore.pg","private":false,"owner":{"login":"ins0mniaque","id":206899,"node_id":"MDQ6VXNlcjIwNjg5OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/206899?v=4","gravatar_id":"","url":"https://api.github.com/users/ins0mniaque","html_url":"https://github.com/ins0mniaque","followers_url":"https://api.github.com/users/ins0mniaque/followers","following_url":"https://api.github.com/users/ins0mniaque/following{/other_user}","gists_url":"https://api.github.com/users/ins0mniaque/gists{/gist_id}","starred_url":"https://api.github.com/users/ins0mniaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ins0mniaque/subscriptions","organizations_url":"https://api.github.com/users/ins0mniaque/orgs","repos_url":"https://api.github.com/users/ins0mniaque/repos","events_url":"https://api.github.com/users/ins0mniaque/events{/privacy}","received_events_url":"https://api.github.com/users/ins0mniaque/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ins0mniaque/efcore.pg","description":"Entity Framework Core provider for PostgreSQL","fork":true,"url":"https://api.github.com/repos/ins0mniaque/efcore.pg","forks_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/forks","keys_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/teams","hooks_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/hooks","issue_events_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/issues/events{/number}","events_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/events","assignees_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/assignees{/user}","branches_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/branches{/branch}","tags_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/tags","blobs_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/git/refs{/sha}","trees_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/statuses/{sha}","languages_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/languages","stargazers_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/stargazers","contributors_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/contributors","subscribers_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/subscribers","subscription_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/subscription","commits_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/commits{/sha}","git_commits_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/git/commits{/sha}","comments_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/comments{/number}","issue_comment_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/issues/comments{/number}","contents_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/contents/{+path}","compare_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/merges","archive_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/downloads","issues_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/issues{/number}","pulls_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/pulls{/number}","milestones_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/milestones{/number}","notifications_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/labels{/name}","releases_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/releases{/id}","deployments_url":"https://api.github.com/repos/ins0mniaque/efcore.pg/deployments","created_at":"2019-10-21T14:59:27Z","updated_at":"2019-10-21T14:59:28Z","pushed_at":"2019-10-21T19:03:28Z","git_url":"git://github.com/ins0mniaque/efcore.pg.git","ssh_url":"git@github.com:ins0mniaque/efcore.pg.git","clone_url":"https://github.com/ins0mniaque/efcore.pg.git","svn_url":"https://github.com/ins0mniaque/efcore.pg","homepage":null,"size":3000,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"postgresql","name":"PostgreSQL License","spdx_id":"PostgreSQL","url":"https://api.github.com/licenses/postgresql","node_id":"MDc6TGljZW5zZTMx"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"npgsql:dev","ref":"dev","sha":"c9475c27447e303fb40ad573b98c6b864043a693","user":{"login":"npgsql","id":5766497,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NjY0OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/5766497?v=4","gravatar_id":"","url":"https://api.github.com/users/npgsql","html_url":"https://github.com/npgsql","followers_url":"https://api.github.com/users/npgsql/followers","following_url":"https://api.github.com/users/npgsql/following{/other_user}","gists_url":"https://api.github.com/users/npgsql/gists{/gist_id}","starred_url":"https://api.github.com/users/npgsql/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npgsql/subscriptions","organizations_url":"https://api.github.com/users/npgsql/orgs","repos_url":"https://api.github.com/users/npgsql/repos","events_url":"https://api.github.com/users/npgsql/events{/privacy}","received_events_url":"https://api.github.com/users/npgsql/received_events","type":"Organization","site_admin":false},"repo":{"id":55906763,"node_id":"MDEwOlJlcG9zaXRvcnk1NTkwNjc2Mw==","name":"efcore.pg","full_name":"npgsql/efcore.pg","private":false,"owner":{"login":"npgsql","id":5766497,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NjY0OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/5766497?v=4","gravatar_id":"","url":"https://api.github.com/users/npgsql","html_url":"https://github.com/npgsql","followers_url":"https://api.github.com/users/npgsql/followers","following_url":"https://api.github.com/users/npgsql/following{/other_user}","gists_url":"https://api.github.com/users/npgsql/gists{/gist_id}","starred_url":"https://api.github.com/users/npgsql/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npgsql/subscriptions","organizations_url":"https://api.github.com/users/npgsql/orgs","repos_url":"https://api.github.com/users/npgsql/repos","events_url":"https://api.github.com/users/npgsql/events{/privacy}","received_events_url":"https://api.github.com/users/npgsql/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/npgsql/efcore.pg","description":"Entity Framework Core provider for PostgreSQL","fork":false,"url":"https://api.github.com/repos/npgsql/efcore.pg","forks_url":"https://api.github.com/repos/npgsql/efcore.pg/forks","keys_url":"https://api.github.com/repos/npgsql/efcore.pg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/npgsql/efcore.pg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/npgsql/efcore.pg/teams","hooks_url":"https://api.github.com/repos/npgsql/efcore.pg/hooks","issue_events_url":"https://api.github.com/repos/npgsql/efcore.pg/issues/events{/number}","events_url":"https://api.github.com/repos/npgsql/efcore.pg/events","assignees_url":"https://api.github.com/repos/npgsql/efcore.pg/assignees{/user}","branches_url":"https://api.github.com/repos/npgsql/efcore.pg/branches{/branch}","tags_url":"https://api.github.com/repos/npgsql/efcore.pg/tags","blobs_url":"https://api.github.com/repos/npgsql/efcore.pg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/npgsql/efcore.pg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/npgsql/efcore.pg/git/refs{/sha}","trees_url":"https://api.github.com/repos/npgsql/efcore.pg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/npgsql/efcore.pg/statuses/{sha}","languages_url":"https://api.github.com/repos/npgsql/efcore.pg/languages","stargazers_url":"https://api.github.com/repos/npgsql/efcore.pg/stargazers","contributors_url":"https://api.github.com/repos/npgsql/efcore.pg/contributors","subscribers_url":"https://api.github.com/repos/npgsql/efcore.pg/subscribers","subscription_url":"https://api.github.com/repos/npgsql/efcore.pg/subscription","commits_url":"https://api.github.com/repos/npgsql/efcore.pg/commits{/sha}","git_commits_url":"https://api.github.com/repos/npgsql/efcore.pg/git/commits{/sha}","comments_url":"https://api.github.com/repos/npgsql/efcore.pg/comments{/number}","issue_comment_url":"https://api.github.com/repos/npgsql/efcore.pg/issues/comments{/number}","contents_url":"https://api.github.com/repos/npgsql/efcore.pg/contents/{+path}","compare_url":"https://api.github.com/repos/npgsql/efcore.pg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/npgsql/efcore.pg/merges","archive_url":"https://api.github.com/repos/npgsql/efcore.pg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/npgsql/efcore.pg/downloads","issues_url":"https://api.github.com/repos/npgsql/efcore.pg/issues{/number}","pulls_url":"https://api.github.com/repos/npgsql/efcore.pg/pulls{/number}","milestones_url":"https://api.github.com/repos/npgsql/efcore.pg/milestones{/number}","notifications_url":"https://api.github.com/repos/npgsql/efcore.pg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/npgsql/efcore.pg/labels{/name}","releases_url":"https://api.github.com/repos/npgsql/efcore.pg/releases{/id}","deployments_url":"https://api.github.com/repos/npgsql/efcore.pg/deployments","created_at":"2016-04-10T15:26:37Z","updated_at":"2019-10-21T18:31:21Z","pushed_at":"2019-10-23T00:57:47Z","git_url":"git://github.com/npgsql/efcore.pg.git","ssh_url":"git@github.com:npgsql/efcore.pg.git","clone_url":"https://github.com/npgsql/efcore.pg.git","svn_url":"https://github.com/npgsql/efcore.pg","homepage":null,"size":2995,"stargazers_count":586,"watchers_count":586,"language":"C#","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":93,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":108,"license":{"key":"postgresql","name":"PostgreSQL License","spdx_id":"PostgreSQL","url":"https://api.github.com/licenses/postgresql","node_id":"MDc6TGljZW5zZTMx"},"forks":93,"open_issues":108,"watchers":586,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/npgsql/efcore.pg/pulls/1085"},"html":{"href":"https://github.com/npgsql/efcore.pg/pull/1085"},"issue":{"href":"https://api.github.com/repos/npgsql/efcore.pg/issues/1085"},"comments":{"href":"https://api.github.com/repos/npgsql/efcore.pg/issues/1085/comments"},"review_comments":{"href":"https://api.github.com/repos/npgsql/efcore.pg/pulls/1085/comments"},"review_comment":{"href":"https://api.github.com/repos/npgsql/efcore.pg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/npgsql/efcore.pg/pulls/1085/commits"},"statuses":{"href":"https://api.github.com/repos/npgsql/efcore.pg/statuses/e8fe0c16d743a79c6788a0c7c696ace487cf10de"}},"author_association":"NONE"}}
other: {"actor":{"display_login":"YohDeadfall"}}