-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementAn improvement on a featureAn improvement on a feature
Milestone
Description
Description
Despite target languages generally accept, currently the generic type support does not include type bounds, e.g.:
interface Shape {
double area();
}
class MyClass<T extends Shape> {
T shape;
}AC:
- annotation processor transformation logic implemented with unit test coverage
- output logic for all target languages implemented with unit test coverage
- integration test cases added and verified
- e2e test cases added and verified; script
misc/start-client-servers.shcan be run in another session to bring up local target language RESTful service. - client-test cases added; no need to verify locally. Later verfication can be done in CI.
Dev Instructions
- development documents in
doc/and CI in.github/workflowscan offer insight about dev cycles - can ignore java8 related part, since this change is not related
- code in git commit cycle with small but meaningful steps
- work in dev branch
7_type_bounds - do not install local runtimes, assume all installed; call
. ./setenvto setup the cmd session
Example Test Case
Above Java code should be converted to below Typescript code:
export interface Shape {
area: number;
}
export interface MyClass<T extends Shape> {
value: T;
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementAn improvement on a featureAn improvement on a feature