-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(abg)!: provide untyped fields always and typed ones if type avai…
…lable (#1603) Fixes #1585 I have to confess, that I did not check every change in the unit test workflow files, so they should probably be looked again closely. But I think it should have done the right thing. Or at least how I envisioned it. no typing => - only `_Untyped` class with `_Untyped` properties - nullability according to required status full typing => - same `_Untyped` class as above - but marked as `@Deprecated` with a replace hint for the typed class (works in the IDE), - additionally a typed class with each property as typed and untyped version - all properties nullable, with runtime checks that - not the typed and untyped is set both for one property - one of the two is set for required properties partly typing => - same `_Untyped` and typed class as above - for inputs that have no type declared only the `_Untyped` property is added - the properties that are only untyped have the nullability according to required status, also in the typed class
- Loading branch information
Showing
20 changed files
with
1,192 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
319 changes: 245 additions & 74 deletions
319
...kotlin/io/github/typesafegithub/workflows/actionbindinggenerator/generation/Generation.kt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.