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: outputSchema=true when onlyTypes=true #1039

Merged
merged 8 commits into from May 15, 2024

Conversation

lukealvoeiro
Copy link
Collaborator

This PR aims to fix a conflict that is created between two options that results in code that fails to compile. Please note that this is not an attempt to fix the underlying problem, which I have explained in a TODO comment in the code for posterity. I also created new tests to capture any regressions.

@stephenh
Copy link
Owner

Hi @lukealvoeiro ! Definitely appreciate the todo/test coverage to at least document behavior.

Looks like the build is failing, but is it fall just version bumps of protoc? Lol, that would be unfortunate 🤔 . Wonder how we can handle that cleanly... Might have to make that output optional, if even just for our test suite?

lukealvoeiro and others added 5 commits May 14, 2024 15:55
### Description

- Add the `annotateFilesWithVersion` option so that changes are
correctly captured in CI (eliminating noise on each file)
- Added this option to the README
# [1.175.0](v1.174.0...v1.175.0) (2024-05-13)

### Features

* optionally output versions used to generate files ([#1040](#1040)) ([53d6799](53d6799))
* main:
  chore(release): 1.175.0 [skip ci]
  feat: optionally output versions used to generate files (#1040)
@lukealvoeiro
Copy link
Collaborator Author

@stephenh This should be all good to merge!

@stephenh stephenh merged commit 064665f into main May 15, 2024
6 checks passed
@stephenh stephenh deleted the lalvoeiro/fix-options-with-no-decode-method branch May 15, 2024 00:10
stephenh pushed a commit that referenced this pull request May 15, 2024
## [1.175.1](v1.175.0...v1.175.1) (2024-05-15)

### Bug Fixes

* `outputSchema=true` when `onlyTypes=true` ([#1039](#1039)) ([064665f](064665f))
@stephenh
Copy link
Owner

🎉 This PR is included in version 1.175.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants