Skip to content

[Bug][http-client-java] azure-json serialization, constant property in parent class cannot be accessed from child class #5028

Open
@XiaofeiCao

Description

@XiaofeiCao

Describe the bug

unbranded generated code: joseharriaga/openai-in-typespec@25c0126

tsp source: https://github.com/joseharriaga/openai-in-typespec/blob/610b77e85f60de6f7a1dfc7276e69fecddbc09ad/.typespec/fine-tuning/models.tsp#L328-L329
base model: https://github.com/joseharriaga/openai-in-typespec/blob/610b77e85f60de6f7a1dfc7276e69fecddbc09ad/.typespec/chat/models.tsp#L634

Current thought:

  1. This property should be package-private, since all models are in the same package(no models-sub-packages configuration)
  2. Access through getter?

Reproduction

see above

Checklist

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingemitter:client:javaIssue for the Java client emitter: @typespec/http-client-java

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions