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

Add helper functions for Google.Protobuf modules #354

Merged
merged 4 commits into from
Dec 6, 2024

Conversation

btkostner
Copy link
Contributor

Replaces elixir-protobuf/google-protos#21. Should be merged after #353.

lib/google/protobuf.ex Outdated Show resolved Hide resolved
lib/google/protobuf.ex Outdated Show resolved Hide resolved
lib/google/protobuf.ex Outdated Show resolved Hide resolved
lib/google/protobuf.ex Outdated Show resolved Hide resolved
lib/google/protobuf.ex Show resolved Hide resolved
@v0idpwn
Copy link
Collaborator

v0idpwn commented Nov 6, 2024

@btkostner, would you like to address Andrea's comments, or would you prefer for me to take this one over? Happy either way :)

@btkostner
Copy link
Contributor Author

Go for it! I'm on a deadline for work right now so I doubt I'll have free time to work on this 👍

- Remove `to_time_unit/1` and `from_time_unit/2`
- Fix type reference in documentation
- Add better example
@v0idpwn v0idpwn changed the title feat: add helper functions for Google.Protobuf modules Add helper functions for Google.Protobuf modules Nov 8, 2024
@v0idpwn v0idpwn merged commit 8e89af1 into elixir-protobuf:main Dec 6, 2024
3 checks passed
@btkostner btkostner deleted the helpers branch December 6, 2024 17:29
@yordis
Copy link
Contributor

yordis commented Jan 4, 2025

@v0idpwn do you think it would be possible to cut off a release?

@v0idpwn
Copy link
Collaborator

v0idpwn commented Jan 4, 2025

Hi, @yordis! I don't have the permission to make releases, so we need to ask @whatyouhide or @ericmj.

For me, the current main seems okay to be released. I'm just a bit worried that #384 and #353 may make update not very smooth.

@yordis
Copy link
Contributor

yordis commented Jan 5, 2025

Removing the google_protos pkg will fix #353 since I just did it. Thus far, things are working for me; what is your concern with #384 per se?

@v0idpwn
Copy link
Collaborator

v0idpwn commented Jan 6, 2025

384 adds a compile time dependency from protobuf definitions to transform module, which can make existing code have circular dependencies.

Don't get me wrong, though, I think it's fine to be released :)

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.

6 participants