Skip to content

Feature/no descriptor fallback#84

Merged
mjheilmann merged 12 commits intomainfrom
feature/no-descriptor-fallback
May 5, 2026
Merged

Feature/no descriptor fallback#84
mjheilmann merged 12 commits intomainfrom
feature/no-descriptor-fallback

Conversation

@mjheilmann
Copy link
Copy Markdown
Collaborator

@mjheilmann mjheilmann commented May 5, 2026

This pr adds a descriptor/0 synthesizer, to start supporting the reflection of grpc services where protos were compiled without descriptor support. If descriptor/0 is not present, we automatically try to synthesize and continue.

The compiled elixir code has enough info to service, encode, and decode messages, so it should know enough to tell another service about it through reflection. This is leveraging that known knowledge (via internal structures)

This has a lot of tests, and test services - regenerating most test services without descriptors for testing. When descriptor/0 is preset behavior should be un-changed, so this is opt-in functionality.

@mjheilmann mjheilmann merged commit 235d6b8 into main May 5, 2026
11 checks passed
@mjheilmann mjheilmann deleted the feature/no-descriptor-fallback branch May 5, 2026 21:55
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.

1 participant