Java codegen support for interfaces
See original GitHub issueDepends on #13036
- exercising inherited interface choices just as if they were directly defined on implementing templates
- exercising interface choices by interface contract ID
- for every interface type
I
,- a Java type for
ContractId I
, used where that type occurs in any serializable type - for every
I
-implementing templateT
,- a convenient function
ContractId T -> ContractId I
- #13461
- the above functions generated as part of
T
, since noI
knows all its possibleT
s
- a convenient function
- a Java type for
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
[JAVA] Use interfaces in model when not using discriminator ...
In our use case, our consumers primarily use untyped languages but our server is written in strongly typed java. Swagger-codegen version. A ...
Read more >Is it possible to generate interfaces with Swagger codegen if ...
I am trying to generate APIs with Swagger CodeGen but when I am using Java and RestTemplate as language and library the ApiClient...
Read more >Generated Interfaces - jOOQ
Every table, view, udt in your database will generate an interface that looks like this: public interface IBook extends java.io ...
Read more >Feature Idea: Support for Swagger Codegen generated client ...
Our gradle build process at some moment invokes swagger-codegen task to generate the whole set of client SDK classes out of the spec....
Read more >Interfaces - wasmCloud
In this section, you will find documentation on how to define interfaces using smithy IDL files, and use code generation to create libraries...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, I think so. You need this conversion to be able to fetch the contract underlying an interface contract id, for example when the interface contract id is returned from a choice and you already know it’s supposed to have a certain underlying type. This is common when working with interfaces.
Oki, thanks folks! Will add it tomorrow and open another PR 😃
Stephen Compall @.***> schrieb am Di., 29. März 2022, 23:39: