Skip to content
New issue

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

Fix CreateTopicsResponse generation #99

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

ivanyu
Copy link
Contributor

@ivanyu ivanyu commented Nov 16, 2023

The key is in handling optionality and defaults of primitive types correctly.

@ivanyu ivanyu force-pushed the ivanyu/fix-CreateTopicsResponse branch from 10e8c6d to 873d8c6 Compare November 16, 2023 03:56
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (579d5a0) 98.73% compared to head (873d8c6) 98.73%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #99   +/-   ##
=======================================
  Coverage   98.73%   98.73%           
=======================================
  Files          13       13           
  Lines         951      951           
  Branches      132      132           
=======================================
  Hits          939      939           
  Misses          7        7           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ivanyu ivanyu marked this pull request as ready for review November 16, 2023 04:29
Copy link
Collaborator

@aiven-anton aiven-anton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just the UUID default needs adjusting IMO, otherwise ready to merge.

codegen/generate_schema.py Outdated Show resolved Hide resolved
codegen/generate_schema.py Outdated Show resolved Hide resolved
codegen/parser.py Show resolved Hide resolved
@ivanyu ivanyu force-pushed the ivanyu/fix-CreateTopicsResponse branch 3 times, most recently from d043dad to e13a2c5 Compare November 20, 2023 15:38
The key is in handling optionality and defaults of primitive types correctly.
@ivanyu ivanyu force-pushed the ivanyu/fix-CreateTopicsResponse branch from e13a2c5 to 2acc6ec Compare November 20, 2023 15:48
@aiven-anton aiven-anton merged commit 0e2ad8d into main Nov 20, 2023
12 checks passed
@aiven-anton aiven-anton deleted the ivanyu/fix-CreateTopicsResponse branch November 20, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants