162 Commits

Author SHA1 Message Date
Adam Hathcock 1b93e37894 default options if null (#10) 2024-06-19 11:59:57 +01:00
Adam Hathcock c71fc31132 Rhino required fixes (#9)
* add fixes for structs

* handle null non-nullables to nullable nulls

* test fix

* add enum test even if it's gross looking

* generate nullable adapt when needed

* fix adapter tests

* don't generate static events

* fmt

* mark for release
2024-06-18 13:04:08 +01:00
Adam Hathcock 4c8bb894c6 bump for release 2024-06-17 17:06:10 +01:00
Adam Hathcock a6b99abd13 Generate structs for structs and fix struct out parameter if known (#8)
* Generate structs for structs and fix struct out parameter if known

* fmt
2024-06-17 17:04:52 +01:00
Adam Hathcock c6960c7370 Bump for release 2024-06-14 13:06:11 +01:00
Adam Hathcock 4303a788ab Move Mapster config to static constructors (#7) 2024-06-14 13:04:45 +01:00
Adam Hathcock a71073b377 Bump for release 2024-06-13 16:27:45 +01:00
Adam Hathcock ad3f6afb64 DUI3-300 - add ProxyMap to source gen (#6) 2024-06-13 16:26:02 +01:00
Adam Hathcock 36840265ca Add test for new _Instance but removing if option is used 2024-06-03 14:41:30 +01:00
Adam Hathcock 6391515c19 More options (#5)
* update generator and tests

* Add ImplementationOptions

* option tests

* fix some tests

* UseExtendedInterfaces with flag enum parsing

* add test for using base interfaces instead of interface

* add ProxyForBaseInterface

* add extra overload

* don't put new if we're replacing interfaces

* really remove AutoMapper

* remove akka and fix up interface

* Bigger bump for version

* adjust readme
2024-05-24 13:16:14 +01:00
Adam Hathcock 622f361de5 add nullable context to attribute 2024-05-22 13:31:53 +01:00
Adam Hathcock 344b7257ad Merge pull request #4 from specklesystems/more-fork-changes
More fork changes: search/replace
2024-05-22 13:06:07 +01:00
Adam Hathcock 895e2ce672 bump version 2024-05-22 13:05:55 +01:00
Adam Hathcock e0303f2147 more renames and add extra constructor on attribute 2024-05-22 12:04:55 +01:00
Adam Hathcock ad0caacc10 More search replace 2024-05-22 10:58:00 +01:00
Adam Hathcock ae8133ad2d Fix up csproj for build 2024-05-22 09:46:09 +01:00
Adam Hathcock 802a199901 fix release workflow 2024-05-22 09:40:35 +01:00
Adam Hathcock b560ce9374 Merge pull request #3 from specklesystems/fix-workflows
try fix workflows as testing can't happen on release builds
2024-05-22 09:36:11 +01:00
Adam Hathcock ec33decbd7 rename job 2024-05-22 09:35:01 +01:00
Adam Hathcock 345b436b37 disable tests on CI because I can't find out why it's not working on GA 2024-05-22 09:32:59 +01:00
Adam Hathcock 6b571e7714 do all net8 2024-05-22 09:03:13 +01:00
Adam Hathcock 850646e731 try fix workflows as testing can't happen on release builds 2024-05-22 08:57:46 +01:00
Adam Hathcock 8c385739ef Merge pull request #2 from specklesystems/fork-changes
Fork changes
2024-05-22 08:40:17 +01:00
Adam Hathcock f7f2cc5c17 Merge remote-tracking branch 'specklesystems/main' into fork-changes 2024-05-21 16:35:49 +01:00
Adam Hathcock ff68ed5a4b Merge pull request #1 from specklesystems/members-to-ignore
Members to ignore
2024-05-21 16:35:22 +01:00
Adam Hathcock e341772cbc add csharpier 2024-05-21 16:34:46 +01:00
Adam Hathcock 1734d5162a namespace change 2024-05-21 16:33:33 +01:00
Adam Hathcock 5f92c81965 Fork changes 2024-05-21 16:30:10 +01:00
Adam Hathcock 95b5b15cb5 Fix comment 2024-05-21 14:21:24 +01:00
Adam Hathcock 7f31f43f97 add _Instance to interface to test 2024-05-21 14:18:29 +01:00
Adam Hathcock e61651ba13 add to ignore test 2024-05-21 14:14:54 +01:00
Adam Hathcock 2baba84655 Add members-to-ignore to proxy data 2024-05-21 13:56:58 +01:00
Adam Hathcock e5a0b7b7d3 intermediate commit 2024-05-21 13:55:59 +01:00
Adam Hathcock 5568a98e0b add MembersToIgnore 2024-05-21 13:03:43 +01:00
Stef Heyenrath 894b5d5049 0.1.0 2024-04-28 12:43:55 +02:00
Stef Heyenrath b063a4b6af Add tests for interfaces with same name but different namespace (#70) 2024-04-28 12:41:55 +02:00
Stef Heyenrath 49ddbc089a Cleanup some code 2024-04-28 10:45:33 +02:00
David 39d85588e6 Use fully qualified names to reduce namespace clashes. (#68)
* Use fully qualified names to reduce namespace clashes.

* Small code style fixes.

* Make properties in ProxyData immutable.

* Remove clutter by joining TrimEnd() to previous line.

* Introduce Extension method to retrieve ITypeSymbol FullyQualifiedDisplayString

* Fixed some code issues.

* Fixed method call in BaseGenerator

* Refactor metadata name
2024-04-28 10:25:50 +02:00
Stef Heyenrath 68864378d0 0.0.38 2024-04-23 12:20:39 +02:00
Stef Heyenrath 4490925655 Remove IHttpClient examples + rerun tests to generate files 2024-04-23 10:59:26 +02:00
David 6b6e5d04a0 Do not redefine interfaces. (#67)
* Do not redefine interfaces.

* Improve code style, readability and performance after initial code review

* Implemented unit tests for the interface inheritance

* Cleaned up unit tests.

* Completely remove output helper.
2024-04-23 10:52:52 +02:00
Stef Heyenrath d2d1115753 readme 2023-12-07 21:40:10 +01:00
Stef Heyenrath 0de5e0ba51 IHttpClient - 0.0.1 2023-12-07 10:01:42 +01:00
Stef Heyenrath e146476c34 fix urls 2023-12-06 21:59:28 +01:00
Stef Heyenrath 0ccb94a3a7 IHttpClient 2023-12-06 21:56:58 +01:00
Stef Heyenrath 18caf1ec33 0.0.37 2023-12-06 21:33:40 +01:00
Stef Heyenrath 059886d1ca Exclude System.Runtime.CompilerServices.NullableContextAttribute (#66)
* HttpClient

* .

* .

* .
2023-12-06 21:32:07 +01:00
Stef Heyenrath 77f28ffacc 0.0.36 2023-10-10 19:39:58 +02:00
Stef Heyenrath 764d9d4f58 Change "nullable disable" to "nullable restore" (#65)
* Remove "#nullable disable" and the end of generated cs file

* restore

* .
2023-10-10 19:38:40 +02:00
Stef Heyenrath 0c19988fd2 fix 2023-03-14 18:50:47 +01:00