{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":692834389,"defaultBranch":"main","name":"kelpie","ownerLogin":"adamconnelly","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-09-17T18:13:00.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1884632?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1718313487.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"c45e2203f3c988bcc3539368971eec0ffe7ada9d","ref":"refs/heads/adamc/embedded-interfaces","pushedAt":"2024-06-13T21:18:07.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"WIP: adding support for embedded interfaces","shortMessageHtmlLink":"WIP: adding support for embedded interfaces"}},{"before":"f9917e4b8a4fb2dfc86e3883a1e2b1a0082878bd","after":null,"ref":"refs/heads/adamc/fix-duplicate-interfaces","pushedAt":"2024-06-10T19:50:09.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"}},{"before":"c1bacd318e401009c17381f652e2c853413dc0bf","after":"f9917e4b8a4fb2dfc86e3883a1e2b1a0082878bd","ref":"refs/heads/main","pushedAt":"2024-06-10T19:50:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"fix: duplicate interfaces being generated\n\nThe problem is because I'm passing the `Tests: true` config option to `packages.Load`, multiple packages can be returned for a single package ID. For now I've just taken the easy option of using a map to ensure that there's no duplicates.","shortMessageHtmlLink":"fix: duplicate interfaces being generated"}},{"before":null,"after":"f9917e4b8a4fb2dfc86e3883a1e2b1a0082878bd","ref":"refs/heads/adamc/fix-duplicate-interfaces","pushedAt":"2024-06-10T19:48:09.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"fix: duplicate interfaces being generated\n\nThe problem is because I'm passing the `Tests: true` config option to `packages.Load`, multiple packages can be returned for a single package ID. For now I've just taken the easy option of using a map to ensure that there's no duplicates.","shortMessageHtmlLink":"fix: duplicate interfaces being generated"}},{"before":"c1bacd318e401009c17381f652e2c853413dc0bf","after":null,"ref":"refs/heads/adamc/kelpie-config","pushedAt":"2024-06-09T20:15:34.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"}},{"before":"020011e0befa69090e33d21cf9cafb7800b00331","after":"c1bacd318e401009c17381f652e2c853413dc0bf","ref":"refs/heads/main","pushedAt":"2024-06-09T20:15:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for a configuration file\n\nAdded support for a kelpie.yaml file to specify the mocks to generate. The advantage of this is that we can avoid re-parsing the same package multiple times if we're generating more than one mock from it.\n\nThe existing `go:generate` method of generation is still supported - this will be up to personal preference.\n\nI've also added some extra output to the generate command to make it easier to tell if the mocks have been generated correctly or not.","shortMessageHtmlLink":"feat: add support for a configuration file"}},{"before":"d6f2d48bcac3db4ba9f7f1603e22b6fa274f040b","after":"c1bacd318e401009c17381f652e2c853413dc0bf","ref":"refs/heads/adamc/kelpie-config","pushedAt":"2024-06-09T20:12:03.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for a configuration file\n\nAdded support for a kelpie.yaml file to specify the mocks to generate. The advantage of this is that we can avoid re-parsing the same package multiple times if we're generating more than one mock from it.\n\nThe existing `go:generate` method of generation is still supported - this will be up to personal preference.\n\nI've also added some extra output to the generate command to make it easier to tell if the mocks have been generated correctly or not.","shortMessageHtmlLink":"feat: add support for a configuration file"}},{"before":"7b4df5240fa366ea55637fa87ad2e1b95846dffd","after":"d6f2d48bcac3db4ba9f7f1603e22b6fa274f040b","ref":"refs/heads/adamc/kelpie-config","pushedAt":"2024-06-09T20:09:55.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for a configuration file\n\nAdded support for a kelpie.yaml file to specify the mocks to generate. The advantage of this is that we can avoid re-parsing the same package multiple times if we're generating more than one mock from it.\n\nThe existing `go:generate` method of generation is still supported - this will be up to personal preference.\n\nI've also added some extra output to the generate command to make it easier to tell if the mocks have been generated correctly or not.","shortMessageHtmlLink":"feat: add support for a configuration file"}},{"before":null,"after":"7b4df5240fa366ea55637fa87ad2e1b95846dffd","ref":"refs/heads/adamc/kelpie-config","pushedAt":"2024-06-09T09:46:32.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for a configuration file\n\nAdded support for a kelpie.yaml file to specify the mocks to generate. The advantage of this is that we can avoid re-parsing the same package multiple times if we're generating more than one mock from it.\n\nThe existing `go:generate` method of generation is still supported - this will be up to personal preference.\n\nI've also added some extra output to the generate command to make it easier to tell if the mocks have been generated correctly or not.","shortMessageHtmlLink":"feat: add support for a configuration file"}},{"before":"020011e0befa69090e33d21cf9cafb7800b00331","after":null,"ref":"refs/heads/adamc/nested-interfaces","pushedAt":"2024-06-08T19:23:47.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"}},{"before":"877904aeb5e5d223869455d5cc1298f069522429","after":"020011e0befa69090e33d21cf9cafb7800b00331","ref":"refs/heads/main","pushedAt":"2024-06-08T19:23:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for nested interfaces\n\nAdded support for interfaces that are defined inline inside a struct field.","shortMessageHtmlLink":"feat: add support for nested interfaces"}},{"before":"48a438b46d7ff1d304398ac45155560853cddd09","after":"020011e0befa69090e33d21cf9cafb7800b00331","ref":"refs/heads/adamc/nested-interfaces","pushedAt":"2024-06-08T17:49:34.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for nested interfaces\n\nAdded support for interfaces that are defined inline inside a struct field.","shortMessageHtmlLink":"feat: add support for nested interfaces"}},{"before":null,"after":"48a438b46d7ff1d304398ac45155560853cddd09","ref":"refs/heads/adamc/nested-interfaces","pushedAt":"2024-06-08T17:47:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for nested interfaces\n\nAdded support for interfaces that are defined inline inside a struct field.","shortMessageHtmlLink":"feat: add support for nested interfaces"}},{"before":"877904aeb5e5d223869455d5cc1298f069522429","after":null,"ref":"refs/heads/adamc/variadic-any","pushedAt":"2024-06-06T05:58:47.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"}},{"before":"f28119d1be9a7cb68f1d48570ac921e6884d2232","after":"877904aeb5e5d223869455d5cc1298f069522429","ref":"refs/heads/main","pushedAt":"2024-06-06T05:58:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: allow matching on any number of variadic args\n\nI've added a new `kelpie.AnyArgs[T]()` for working with variadic methods. It can be used where we really don't care if any args are passed to the method.","shortMessageHtmlLink":"feat: allow matching on any number of variadic args"}},{"before":null,"after":"877904aeb5e5d223869455d5cc1298f069522429","ref":"refs/heads/adamc/variadic-any","pushedAt":"2024-06-06T05:56:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: allow matching on any number of variadic args\n\nI've added a new `kelpie.AnyArgs[T]()` for working with variadic methods. It can be used where we really don't care if any args are passed to the method.","shortMessageHtmlLink":"feat: allow matching on any number of variadic args"}},{"before":"f28119d1be9a7cb68f1d48570ac921e6884d2232","after":null,"ref":"refs/heads/adamc/add-empty-helper","pushedAt":"2024-06-06T05:29:00.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"}},{"before":"7b127662724bfb56b129da31a0b3888e72792d67","after":"f28119d1be9a7cb68f1d48570ac921e6884d2232","ref":"refs/heads/main","pushedAt":"2024-06-06T05:28:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: improve matching empty variadic argument lists\n\nExpecting or verifying that a variadic method was called with no arguments passed was difficult because by not passing any arguments, it prevented the Go compiler from being able to infer the types. I've added a new `kelpie.None[T]()` helper to make this easier.","shortMessageHtmlLink":"feat: improve matching empty variadic argument lists"}},{"before":null,"after":"f28119d1be9a7cb68f1d48570ac921e6884d2232","ref":"refs/heads/adamc/add-empty-helper","pushedAt":"2024-06-06T05:20:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: improve matching empty variadic argument lists\n\nExpecting or verifying that a variadic method was called with no arguments passed was difficult because by not passing any arguments, it prevented the Go compiler from being able to infer the types. I've added a new `kelpie.None[T]()` helper to make this easier.","shortMessageHtmlLink":"feat: improve matching empty variadic argument lists"}},{"before":"91e07d454db8990e17209924cf3e128dce3c7e46","after":null,"ref":"refs/heads/adamc/fix-variadic-parameters","pushedAt":"2024-06-04T09:19:46.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"}},{"before":"bb57a55d5861309a62c17f1301a3350d2390818a","after":"7b127662724bfb56b129da31a0b3888e72792d67","ref":"refs/heads/main","pushedAt":"2024-06-04T09:19:45.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"fix: variadic functions\n\nI realise that the support I previously added for variadic functions wasn't quite right, and resulted in broken mocks. I've updated Kelpie to correctly generate mocks involving variadic parameters, and to match them correctly.\n\nI've also added some more examples and updated the README, and fixed an issue with parameters with an interface type that could result in broken code being generated.","shortMessageHtmlLink":"fix: variadic functions"}},{"before":null,"after":"91e07d454db8990e17209924cf3e128dce3c7e46","ref":"refs/heads/adamc/fix-variadic-parameters","pushedAt":"2024-06-04T07:57:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"fix: variadic functions\n\nI realise that the support I previously added for variadic functions wasn't quite right, and resulted in broken mocks. I've updated Kelpie to correctly generate mocks involving variadic parameters, and to match them correctly.\n\nI've also added some more examples and updated the README, and fixed an issue with parameters with an interface type that could result in broken code being generated.","shortMessageHtmlLink":"fix: variadic functions"}},{"before":"bb57a55d5861309a62c17f1301a3350d2390818a","after":null,"ref":"refs/heads/adamc/support-variadic-functions","pushedAt":"2024-06-02T15:01:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"}},{"before":"7b5adb1f2899ebdf96cefb4e0d2e2ffa4ed044d1","after":"bb57a55d5861309a62c17f1301a3350d2390818a","ref":"refs/heads/main","pushedAt":"2024-06-02T15:01:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for variadic functions\n\nTo make it useful, I also had to add support for unnamed parameters since that's fairly common when writing interfaces like this.","shortMessageHtmlLink":"feat: add support for variadic functions"}},{"before":"e9688d7421879de67c94f4eb333f4f5bcb7f64f4","after":"bb57a55d5861309a62c17f1301a3350d2390818a","ref":"refs/heads/adamc/support-variadic-functions","pushedAt":"2024-06-02T15:00:08.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for variadic functions\n\nTo make it useful, I also had to add support for unnamed parameters since that's fairly common when writing interfaces like this.","shortMessageHtmlLink":"feat: add support for variadic functions"}},{"before":null,"after":"e9688d7421879de67c94f4eb333f4f5bcb7f64f4","ref":"refs/heads/adamc/support-variadic-functions","pushedAt":"2024-06-02T14:56:49.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add support for variadic functions\n\nTo make it useful, I also had to add support for unnamed parameters since that's fairly common when writing interfaces like this.","shortMessageHtmlLink":"feat: add support for variadic functions"}},{"before":"7b5adb1f2899ebdf96cefb4e0d2e2ffa4ed044d1","after":null,"ref":"refs/heads/adamc/add-whitespace-between-imports","pushedAt":"2024-06-02T12:11:36.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"}},{"before":"5e909dba68d3099f612ff7bdc688865b299a2e70","after":"7b5adb1f2899ebdf96cefb4e0d2e2ffa4ed044d1","ref":"refs/heads/main","pushedAt":"2024-06-02T12:11:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add newline between import groups\n\nI've adjusted the template to add a newline between the Kelpie imports and the imports required by the mock to make it easier to understand where they come from when reading the generated code.","shortMessageHtmlLink":"feat: add newline between import groups"}},{"before":null,"after":"7b5adb1f2899ebdf96cefb4e0d2e2ffa4ed044d1","ref":"refs/heads/adamc/add-whitespace-between-imports","pushedAt":"2024-06-02T12:09:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"},"commit":{"message":"feat: add newline between import groups\n\nI've adjusted the template to add a newline between the Kelpie imports and the imports required by the mock to make it easier to understand where they come from when reading the generated code.","shortMessageHtmlLink":"feat: add newline between import groups"}},{"before":"5e909dba68d3099f612ff7bdc688865b299a2e70","after":null,"ref":"refs/heads/adamc/fix-generated-code","pushedAt":"2024-06-02T12:02:45.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"adamconnelly","name":"Adam Connelly","path":"/adamconnelly","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1884632?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEZNwYpgA","startCursor":null,"endCursor":null}},"title":"Activity ยท adamconnelly/kelpie"}