We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
any
When schema field is occurred next time, it is referenced with it's full name. avro-to-typescript is unable to generate such cases, example:
avro-to-typescript
{ "type": "record", "name": "Bug", "namespace": "reuse.failure", "fields": [ { "name": "firstOccurrence", "type": { "type": "record", "namespace": "reuse.failure", "name": "Occurrence", "fields": [ { "name": "value", "type": "string" } ] } }, { "name": "secondOccurrence", "type": "reuse.failure.Occurrence" } ] }
generates
export interface Occurrence { value: string; } export interface BugInterface { firstOccurrence: Occurrence; secondOccurrence: any; } export class Bug extends BaseAvroRecord implements BugInterface { // ... public firstOccurrence!: Occurrence; public secondOccurrence!: any; // ... }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When schema field is occurred next time, it is referenced with it's full name.
avro-to-typescript
is unable to generate such cases, example:generates
The text was updated successfully, but these errors were encountered: