-
Notifications
You must be signed in to change notification settings - Fork 323
Closed as duplicate of#1835
Labels
Description
Clear and concise description of the problem
While migrating from open api and several schemas, I found my self repeatedly writing pattern like
model A is Core.A;
model B is Core.B;this is done as a remapping measure, to keep for a while backward compatible schemas.
but enums require to write this
enum C { ...Core.C };which also doesn't take into account decorators of course.
So, having the same is operator would make this process more uniform.
enum C is Code.C;Otherwise, I don't see other language constructs allow to do so. Aliases are not creating named entries in the OpenAPI document and not even reaching AST.
Checklist
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.